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

LayoutGroup.ExpandButtonMode Property

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

Namespace: DevExpress.XtraLayout

Assembly: DevExpress.XtraLayout.v24.2.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