A newer version of this page is available. Switch to the current version.

NavBarControl.NavigationPaneMaxVisibleGroups Property

Gets the maximum number of groups for which buttons are displayed within a NavBarControl when the "NavigationPane" view is applied.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v19.1.dll


public int NavigationPaneMaxVisibleGroups { get; set; }
Public Property NavigationPaneMaxVisibleGroups As Integer

Property Value

Type Default Description


The maximum number of groups for which buttons are displayed in the "NavigationPane" view. -1 if the maximum number of group buttons is not limited.


When the "NavigationPane" view is applied, the NavBarControl allows the contents of only one group to be displayed at a time. For other groups the NavBarControl provides group buttons at the bottom of the control. An end-user can click a group button to expand the corresponding group's contents.

The NavigationPaneMaxVisibleGroups property determines the maximum number of group buttons that can be displayed at the control's bottom. If you have more groups than the specified maximum value, icons for the extra groups are added to the Overflow panel. Clicking an icon is similar to clicking the group's button.

The following image shows the NavBarControl displaying three group buttons. One group is displayed within the Overflow panel:


See Also