Back to Devexpress

LayoutGroup.ExpandButtonLocation Property

windowsforms-devexpress-dot-xtralayout-dot-layoutgroup-b7a44da0.md

latest2.7 KB
Original Source

LayoutGroup.ExpandButtonLocation Property

OBSOLETE

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

Declaration

csharp
[Browsable(false)]
[DXCategory("Behavior")]
[EditorBrowsable(EditorBrowsableState.Never)]
[Obsolete("Use HeaderButtonsLocation instead")]
[XtraSerializableProperty(XtraSerializationVisibility.Hidden)]
public GroupElementLocation ExpandButtonLocation { get; set; }
vb
<Obsolete("Use HeaderButtonsLocation instead")>
<XtraSerializableProperty(XtraSerializationVisibility.Hidden)>
<Browsable(False)>
<EditorBrowsable(EditorBrowsableState.Never)>
<DXCategory("Behavior")>
Public Property ExpandButtonLocation As GroupElementLocation

Property Value

TypeDescription
GroupElementLocation

A GroupElementLocation value that specifies the expand button’s position.

|

Available values:

NameDescription
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.

|

Remarks

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

ExpandButtonMode

ExpandButtonVisible

ExpandOnDoubleClick

LayoutGroup Class

LayoutGroup Members

DevExpress.XtraLayout Namespace