Back to Devexpress

LayoutGroup.ExpandButtonMode Property

windowsforms-devexpress-dot-xtralayout-dot-layoutgroup-1e23f9bf.md

latest2.8 KB
Original Source

LayoutGroup.ExpandButtonMode Property

Gets or sets the direction of the expand button’s arrow.

Namespace : DevExpress.XtraLayout

Assembly : DevExpress.XtraLayout.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(ExpandButtonMode.Normal)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public ExpandButtonMode ExpandButtonMode { get; set; }
vb
<DefaultValue(ExpandButtonMode.Normal)>
<XtraSerializableProperty>
<DXCategory("Behavior")>
Public 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.

|

Remarks

The expand button is displayed within the group’s caption if the LayoutGroup.ExpandButtonVisible 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 group is expanded/collapsed. The arrow’s normal display mode is appropriate if the group’s caption is displayed along the group’s top or left edge. If the group’s caption is displayed along the group’s right or bottom edge, use the arrow’s inverted display mode. To specify the position of a group’s caption, use the group’s LayoutItemContainer.TextLocation property.

See Also

HeaderButtonsLocation

ExpandButtonVisible

ExpandOnDoubleClick

TextLocation

LayoutGroup Class

LayoutGroup Members

DevExpress.XtraLayout Namespace