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

NavBarCommands Class

Provides access to common navbar commands.

Namespace: DevExpress.Xpf.NavBar

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

NuGet Package: DevExpress.Wpf.NavBar

#Declaration

public static class NavBarCommands

#Remarks

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.

#Inheritance

Object
NavBarCommands
See Also