Back to Devexpress

NavBarControl.NavPaneStateChanged Event

windowsforms-devexpress-dot-xtranavbar-dot-navbarcontrol-81f1bc11.md

latest1.9 KB
Original Source

NavBarControl.NavPaneStateChanged Event

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

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
public event EventHandler NavPaneStateChanged
vb
Public Event NavPaneStateChanged As EventHandler

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.

See Also

NavPaneState

NavPaneForm

NavBarControl Class

NavBarControl Members

DevExpress.XtraNavBar Namespace