Skip to main content

LayoutAnimationType Enum

Lists values that specify animation effects that can be applied to Accordion items, TreeView nodes and Form Layout groups.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.1.dll

NuGet Package: DevExpress.Blazor

Declaration

public enum LayoutAnimationType

Members

Name Description
None

The component does not apply animation effects.

Slide

The component applies the slide animation effect.

Related API Members

The following properties accept/return LayoutAnimationType values:

Remarks

The following code snippet applies the slide animation effect to the Form Layout group:

<DxFormLayout>
    <DxFormLayoutGroup Caption="Personal Information"
                       ExpandButtonDisplayMode="GroupExpandButtonDisplayMode.Start" 
                       AnimationType="LayoutAnimationType.Slide">
        <DxFormLayoutItem Caption="First Name:" ColSpanMd="12">
            <DxTextBox @bind-Text="@FirstName" />
        </DxFormLayoutItem>
        <DxFormLayoutItem Caption="Last Name:" ColSpanMd="12">
            <DxTextBox @bind-Text="@LastName" />
        </DxFormLayoutItem>
        <DxFormLayoutItem Caption="Birth Date:" ColSpanMd="12">
            <DxDateEdit @bind-Date="@BirthDate" />
        </DxFormLayoutItem>
    </DxFormLayoutGroup>
</DxFormLayout>

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

Slide Animation

See Also