Skip to main content

DxFormLayoutGroup.ExpandButtonDisplayMode Property

Specifies the position where the Form Layout group displays an expand button.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

[DefaultValue(GroupExpandButtonDisplayMode.None)]
[Parameter]
public GroupExpandButtonDisplayMode ExpandButtonDisplayMode { get; set; }

Property Value

Type Default Description
GroupExpandButtonDisplayMode None

A GroupExpandButtonDisplayMode enumeration value.

Available values:

Name Description
Start

The group displays an expand button to the left of the caption.

End

The group displays an expand button to the right of the caption.

None

The group does not display an expand button.

Remarks

The following code snippet sets the ExpandButtonDisplayMode property to Start:

<DxFormLayout>
    <DxFormLayoutGroup Caption="Personal Information" ExpandButtonDisplayMode="GroupExpandButtonDisplayMode.Start">
        <DxFormLayoutItem Caption="First Name:">
            <DxTextBox />
        </DxFormLayoutItem>
        <DxFormLayoutItem Caption="Last Name:">
            <DxTextBox />
        </DxFormLayoutItem>
    </DxFormLayoutGroup>
</DxFormLayout>

Display mode: Start

View Example: Collapsible groups

See Also