Articles in this section
Category / Section

How can I programmatically add a NavigatorBar to the GridGroupingControl?

1 min read

You can programmatically add a NavigatorBar to the Grid using ButtonBars.Add method.

C#

//New NavigatorBar

NavigatorBar navBar = new NavigatorBar();

//Add the default buttons to the NavigatorBar

NavigatorBar.AddDefaultNavigatorBarButtons(navBar);

//Add the NavigatorBar to the Grid's ButtonBars Collection

this.GridGroupingControl1.ButtonBars.Add(navBar);

VB

'New NavigatorBar

Private navBar As NavigatorBar = New NavigatorBar()

'Add the default buttons to the NavigatorBar

NavigatorBar.AddDefaultNavigatorBarButtons(navBar)

'Add the NavigatorBar to the Grid's ButtonBars Collection

Me.GridGroupingControl1.ButtonBars.Add(navBar)

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied