OptionsNavPane.NavPaneState Property

Gets or sets the NavBarControl's expansion state when the NavigationPane paint style is applied.

Namespace: DevExpress.XtraNavBar

Assembly: DevExpress.XtraNavBar.v20.1.dll


public virtual NavPaneState NavPaneState { get; set; }
Public Overridable Property NavPaneState As NavPaneState

Property Value

Type Default Description


A NavPaneState value that specifies the control's expansion state.

Property Paths

You can access this nested property as listed below:

Library Object Type Path to NavPaneState
WinForms Controls NavBarControl
Reporting XRDesignToolBox


When the NavigationPane paint style is applied, the NavBarControl can be minimized to save space and then restored if necessary. Use the NavPaneState property to specify the control's expansion state in code.

An end-user can collapse and expand the NavBarControl by clicking the Expand button. Its visibility is specified by the OptionsNavPane.ShowExpandButton property.


See Also