Back to Devexpress

DxFormLayoutGroup.ExpandButtonDisplayMode Property

blazor-devexpress-dot-blazor-dot-dxformlayoutgroup-c96ee1b0.md

latest1.9 KB
Original Source

DxFormLayoutGroup.ExpandButtonDisplayMode Property

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

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDefaultDescription
GroupExpandButtonDisplayModeNone

A GroupExpandButtonDisplayMode enumeration value.

|

Available values:

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

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

View Example: Collapsible groups

See Also

DxFormLayoutGroup Class

DxFormLayoutGroup Members

DevExpress.Blazor Namespace