Skip to main content

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.v24.2.dll

Declaration

[DefaultValue(ExpandButtonMode.Normal)]
public virtual ExpandButtonMode ExpandButtonMode { get; set; }

Property Value

Type Default Description
ExpandButtonMode Normal

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

Available values:

Name Description
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 Type Path 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