Back to Devexpress

NavigationPaneCommands.ChangeNavPaneExpanded Property

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

latest1.7 KB
Original Source

NavigationPaneCommands.ChangeNavPaneExpanded Property

Toggles the Navigation Pane‘s expanded state.

Namespace : DevExpress.Xpf.NavBar

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

NuGet Package : DevExpress.Wpf.NavBar

Declaration

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

Property Value

TypeDescription
RoutedCommand

A RoutedCommand object that defines the command.

|

Remarks

xaml
<Button Command="dxg:NavigationPaneCommands.ChangeNavPaneExpanded"
        CommandTarget="{Binding Path=View, ElementName=navBarControl1}">Change Navigation Pane Expanded State</Button>

Corresponding Method: NavigationPaneView.ChangeNavPaneExpanded.

See Also

NavigationPaneCommands Class

NavigationPaneCommands Members

DevExpress.Xpf.NavBar Namespace