NavigationPaneView.IsExpanded Property
Gets or sets a value specifying whether the Navigation Pane is expanded. This is a dependency property.
Namespace: DevExpress.Xpf.NavBar
Assembly: DevExpress.Xpf.NavBar.v24.2.dll
NuGet Package: DevExpress.Wpf.NavBar
Declaration
Property Value
Type | Description |
---|---|
Boolean | true if the Navigation Pane is expanded, otherwise false. |
Remarks
Use the IsExpanded property to expand and collapse the Navigation Pane programmatically. End-users can expand/collapse the Navigation Pane by clicking the Navigation Pane Expand Button, if it’s displayed, which is controlled by the NavigationPaneView.IsExpandButtonVisible property.
Note that you can also use the NavigationPaneCommands.ChangeNavPaneExpanded command to expand/collapse the Navigation Pane.
Changing the Navigation Pane’s expansion state results in generating the NavigationPaneView.NavPaneExpandedChanging and NavigationPaneView.NavPaneExpandedChanged events.