wpf-devexpress-dot-xpf-dot-navbar-dot-navigationpanecommands-edf4130b.md
Decreases the number of visible group headers displayed within the Navigation Pane’s group button panel.
Namespace : DevExpress.Xpf.NavBar
Assembly : DevExpress.Xpf.NavBar.v25.2.dll
NuGet Package : DevExpress.Wpf.NavBar
public static RoutedCommand ShowFewerGroups { get; }
Public Shared ReadOnly Property ShowFewerGroups As RoutedCommand
| Type | Description |
|---|---|
| RoutedCommand |
A RoutedCommand object that defines the command.
|
This command emulates a click on the “Show Fewer Buttons” item of the customization menu.
<Button Command="dxg:NavigationPaneCommands.ShowFewerGroups"
CommandTarget="{Binding Path=View, ElementName=navBarControl1}">Show Fewer Buttons</Button>
In addition, this command allows you to pass a parameter to specify the decrement for the number of visible group headers.
<Button Command="dxg:NavigationPaneCommands.ShowFewerGroups"
CommandTarget="{Binding Path=View, ElementName=navBarControl1}"
CommandParameter="3">Show Fewer Buttons (by 3)</Button>
Corresponding Method: NavigationPaneView.ShowFewerGroups.
See Also