Skip to main content

NavBarCommands Class

Provides access to common navbar commands.

Namespace: DevExpress.Xpf.NavBar

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

NuGet Package: DevExpress.Wpf.NavBar


public static class NavBarCommands


The NavBarControl has built-in commands allowing to you easily program some common actions via XAML markup (such as expand/collapse groups, select items or activate groups). All these commands have corresponding methods, which are declared at the levels targeted by the CommandTarget parameter of the commands.

For instance, the NavBarCommands.ChangeGroupExpanded command corresponds to the NavBarViewBase.ChangeGroupExpanded method. Some commands use specific parameters; you can discover the required parameters within the corresponding methods of commands, as well.


See Also