Back to Devexpress

NavigationPane.State Property

windowsforms-devexpress-dot-xtrabars-dot-navigation-dot-navigationpane-8fdc46f5.md

latest2.2 KB
Original Source

NavigationPane.State Property

Gets or sets this NavigationPane‘s current state.

Namespace : DevExpress.XtraBars.Navigation

Assembly : DevExpress.XtraBars.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(NavigationPaneState.Default)]
[DXCategory("Behavior")]
public virtual NavigationPaneState State { get; set; }
vb
<DefaultValue(NavigationPaneState.Default)>
<DXCategory("Behavior")>
Public Overridable Property State As NavigationPaneState

Property Value

TypeDefaultDescription
DevExpress.XtraBars.Navigation.NavigationPaneStateDefault

A DevExpress.XtraBars.Navigation.NavigationPaneState enumerator value that is this NavigationPane‘s current state.

|

Remarks

Depending on the State property value, the NavigationPane can be in three unique states:

  • Regular - the content area is visible and occupies the size specified by the NavigationPane.RegularSize property;
  • Expanded - the content area is visible and occupies all available space, specified by the MaximumSize property;
  • Collapsed - the content area is collapsed, only the column with page headers is visible;
  • Default - equal to the Regular state.

See Also

RegularSize

NavigationPane Class

NavigationPane Members

DevExpress.XtraBars.Navigation Namespace