Back to Devexpress

DxTreeView.AnimationType Property

blazor-devexpress-dot-blazor-dot-dxtreeview-1e57472b.md

latest1.8 KB
Original Source

DxTreeView.AnimationType Property

Specifies the animation type.

Namespace : DevExpress.Blazor

Assembly : DevExpress.Blazor.v25.2.dll

NuGet Package : DevExpress.Blazor

Declaration

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

Property Value

TypeDefaultDescription
LayoutAnimationTypeNone

A LayoutAnimationType enumeration value.

|

Available values:

NameDescription
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

DxTreeView Class

DxTreeView Members

DevExpress.Blazor Namespace