Back to Devexpress

NavigationPaneCommands.ShowMoreGroups Property

wpf-devexpress-dot-xpf-dot-navbar-dot-navigationpanecommands-71b8ae1d.md

latest2.4 KB
Original Source

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

NuGet Package : DevExpress.Wpf.NavBar

Declaration

csharp
public static RoutedCommand ShowMoreGroups { get; }
vb
Public Shared ReadOnly Property ShowMoreGroups As RoutedCommand

Property Value

TypeDescription
RoutedCommand

A RoutedCommand object that defines the command.

|

Remarks

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

xaml
<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.

xaml
<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

ShowFewerGroups

NavigationPaneCommands Class

NavigationPaneCommands Members

DevExpress.Xpf.NavBar Namespace