Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

NuGet Package: DevExpress.Win

#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