Skip to main content

DxFormLayoutGroup.Decoration Property

Specifies whether to decorate DxFormLayoutGroup as a card.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor


public FormLayoutGroupDecoration Decoration { get; set; }

Property Value

Type Default Description
FormLayoutGroupDecoration Card

A FormLayoutGroupDecoration enumeration value.

Available values:

Name Description

The group has a card decoration.


The group has no decoration.


The DxFormLayout component displays its groups as cards.

Decoration enabled

Set the Decoration property to FormLayoutGroupDecoration.None to disable the card decoration for groups:

    <DxFormLayoutGroup Caption="Personal Information" Decoration="FormLayoutGroupDecoration.None">
        <DxFormLayoutItem Caption="First Name:">
            <DxTextBox @bind-Text="@FirstName" />

        <DxFormLayoutItem Caption="Last Name:">
            <DxTextBox @bind-Text="@LastName" />

        <DxFormLayoutItem Caption="Birthday:">
            <DxDateEdit @bind-Date="@Birthday"></DxDateEdit>

@code {
    string FirstName { get; set; } = "Nancy";
    string LastName { get; set; } = "Davolio";
    DateTime Birthday { get; set; } = DateTime.Now.AddYears(-20);

Decoration disabled

Run Demo: Form Layout - Groups

See Also