Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Win

#Declaration

[DefaultValue(-1)]
[XtraSerializableProperty]
public int NavigationPaneMaxVisibleGroups { get; set; }

#Property Value

Type Default Description
Int32 -1

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.

#Remarks

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:

NavPane_Overflow2

See Also