NavBarControl.NavPaneStateChanged Event
Fires after the NavBarControl’s expansion state has been changed (in the NavigationPane paint style).
Namespace: DevExpress.XtraNavBar
Assembly: DevExpress.XtraNavBar.v24.1.dll
NuGet Packages: DevExpress.Win, DevExpress.Win.Navigation
Declaration
Event Data
The NavPaneStateChanged event's data class is EventArgs.
Remarks
When the NavigationPane paint style is applied, the NavBarControl can be minimized to save space and then restored to its normal size. An end-user can collapse and then expand the control by clicking on the expand/collapse button. The OptionsNavPane.NavPaneState property allows you to change the control’s expansion state in code:
The NavPaneStateChanged event serves as a notification of changing the expansion state. To get the current expansion state, use the OptionsNavPane.NavPaneState property.