Back to Devexpress

OptionsNavPane.ExpandButtonMode Property

windowsforms-devexpress-dot-xtranavbar-dot-optionsnavpane-7bb6f48e.md

latest2.8 KB
Original Source

OptionsNavPane.ExpandButtonMode Property

Gets or sets the direction of the expand button’s arrow and also the direction in which the control is collapsed/expanded.

Namespace : DevExpress.XtraNavBar

Assembly : DevExpress.XtraNavBar.v25.2.dll

NuGet Package : DevExpress.Win

Declaration

csharp
[DefaultValue(ExpandButtonMode.Normal)]
public virtual ExpandButtonMode ExpandButtonMode { get; set; }
vb
<DefaultValue(ExpandButtonMode.Normal)>
Public Overridable Property ExpandButtonMode As ExpandButtonMode

Property Value

TypeDefaultDescription
ExpandButtonModeNormal

A ExpandButtonMode value that specifies the direction of the expand button’s arrow.

|

Available values:

NameDescription
Normal

Indicates the inverted direction of an expand/collapse button’s arrow.

| | Inverted |

Indicates the normal direction of an expand/collapse button’s arrow.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to ExpandButtonMode
NavBarControl

.OptionsNavPane .ExpandButtonMode

|

Remarks

The expand button is displayed within the NavBarControl’s caption if the OptionsNavPane.ShowExpandButton property is set to true. The ExpandButtonMode property specifies the direction of the expand button’s arrow (normal or inverted). The arrow visually indicates the direction in which the control is expanded/collapsed. The arrow’s normal display mode is appropriate if the control is docked to a form’s or panel’s left edge. If the control is docked to the form’s right edge, use the arrow’s inverted display mode.

See Also

NavPaneState

ShowExpandButton

LookAndFeel

PaintStyleKind

OptionsNavPane Class

OptionsNavPane Members

DevExpress.XtraNavBar Namespace