windowsforms-devexpress-dot-xtralayout-dot-layoutgroup-b7a44da0.md
Use HeaderButtonsLocation instead
Gets or sets the position of the expand button within the group header.
Namespace : DevExpress.XtraLayout
Assembly : DevExpress.XtraLayout.v25.2.dll
NuGet Package : DevExpress.Win.Navigation
[Browsable(false)]
[DXCategory("Behavior")]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use HeaderButtonsLocation instead")]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
public GroupElementLocation ExpandButtonLocation { get; set; }
<Obsolete("Use HeaderButtonsLocation instead")>
<XtraSerializableProperty(XtraSerializationVisibility.Hidden)>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DXCategory("Behavior")>
Public Property ExpandButtonLocation As GroupElementLocation
| Type | Description |
|---|---|
| GroupElementLocation |
A GroupElementLocation value that specifies the expand button’s position.
|
Available values:
| Name | Description |
|---|---|
| Default |
Specifies the default position of an element relative to a text label. Currently, the Default option is equivalent to the BeforeText option.
| | BeforeText |
Displays an element before a text label.
| | AfterText |
Displays an element after a text label.
|
Layout groups support expand buttons which allow an end-user to collapse and expand groups. To display expand buttons use the LayoutGroup.ExpandButtonVisible property. The ExpandButtonLocation property determines the position of the expand button within the group’s header area.
See Also