Skip to main content

LayoutGroup.ExpandButtonMode Property

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DefaultValue(ExpandButtonMode.Normal)]
[DXCategory("Behavior")]
[XtraSerializableProperty]
public 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.

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