Skip to main content

DxTreeView.AnimationType Property

Specifies the animation type.

Namespace: DevExpress.Blazor

Assembly: DevExpress.Blazor.v23.2.dll

NuGet Package: DevExpress.Blazor

Declaration

[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 example below applies the slide animation effect to the TreeView component:

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

Animated treeview node

See Also