NavBarControl.NavPaneStateChanged Event

Fires after the NavBarControl's expansion state has been changed (in the NavigationPane paint style).

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v20.1.dll


public event EventHandler NavPaneStateChanged
Public Event NavPaneStateChanged As EventHandler

Event Data

The NavPaneStateChanged event's data class is EventArgs.


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.

See Also