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

NavigationPaneCommands.ShowMoreGroups Property

Increments (by one) the number of visible group headers displayed within the Navigation Pane’s group button panel.

Namespace: DevExpress.Xpf.NavBar

Assembly: DevExpress.Xpf.NavBar.v24.2.dll

NuGet Package: DevExpress.Wpf.NavBar

#Declaration

public static RoutedCommand ShowMoreGroups { get; }

#Property Value

Type Description
RoutedCommand

A RoutedCommand object that defines the command.

#Remarks

This command emulates a click on the “Show More Buttons” item of the customization menu.

<Button Command="dxg:NavigationPaneCommands.ShowMoreGroups"
        CommandTarget="{Binding Path=View, ElementName=navBarControl1}">Show More Buttons</Button>

In addition, this command allows you to pass a parameter to specify the increment for the number of visible group headers.

<Button Command="dxg:NavigationPaneCommands.ShowMoreGroups"
        CommandTarget="{Binding Path=View, ElementName=navBarControl1}"
        CommandParameter="3">Show More Buttons (by 3)</Button>

Corresponding Method: NavigationPaneView.ShowMoreGroups.

See Also