Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

DxTreeView.AnimationType Property

Specifies the animation type.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v24.2.dll

NuGet Package: DevExpress.Blazor

#Declaration

C#
[DefaultValue(LayoutAnimationType.None)]
[Parameter]
public LayoutAnimationType AnimationType { get; set; }

#Property Value

Type Default Description
LayoutAnimationType None

A LayoutAnimationType enumeration value.

Available values:

Name Description
None

The component does not apply animation effects.

Slide

The component applies the slide animation effect.

#Remarks

The following code snippet applies the slide animation effect to the TreeView component:

Razor
<DxTreeView AnimationType="LayoutAnimationType.Slide">
    <Nodes>
        <DxTreeViewNode Name="Overview" Text="Overview" />
        <DxTreeViewNode Text="Data Editors">
            <Nodes>
                <DxTreeViewNode Text="Combobox" />
                <DxTreeViewNode Text="Spin Edit" />
            </Nodes>
        </DxTreeViewNode>
        <DxTreeViewNode Text="Form Layout" BadgeText="Upd" />
        <DxTreeViewNode Text="TreeView" BadgeText="New"  />
        <DxTreeViewNode Text="Tabs" BadgeText="New" />
    </Nodes>
</DxTreeView>

See Also