Enum
ItemAnimationMode

Defines the different modes for item animation support in RadVirtualizingDataControl.

Definition

Namespace:Telerik.UI.Xaml.Controls.Data

Assembly:Telerik.WinUI.Controls.dll

Syntax:

cs-api-definition
[Flags]
public enum ItemAnimationMode

Fields

None

No item animations are played.

Declaration

cs-api-definition
None = 0

Field Value

ItemAnimationMode

PlayAll

Animations are played always when the control is bound to a collection, when the source is reset, or when items are added/removed from the source collection.

Declaration

cs-api-definition
PlayAll = PlayOnNewSource | PlayOnAdd | PlayOnRemove | PlayOnSourceReset

Field Value

ItemAnimationMode

PlayOnAdd

If the RadVirtualizingDataControl.ItemAddedAnimation property is defined, the control will animate each new item that is added to the source collection and is realized in the viewport.

Declaration

cs-api-definition
PlayOnAdd = 2

Field Value

ItemAnimationMode

PlayOnNewSource

If the RadVirtualizingDataControl.ItemAddedAnimation property is defined, the control will animate all viewport items using this animation when it is initially bound to a data source.

Declaration

cs-api-definition
PlayOnNewSource = 1

Field Value

ItemAnimationMode

PlayOnRemove

If the RadVirtualizingDataControl.ItemRemovedAnimation property is defined, the control will animate each new item that is removed from the source collection and was realized in the viewport.

Declaration

cs-api-definition
PlayOnRemove = 4

Field Value

ItemAnimationMode

PlayOnSourceReset

If the RadVirtualizingDataControl.ItemRemovedAnimation property is defined, the control will animate all viewport items out of the viewport.

Declaration

cs-api-definition
PlayOnSourceReset = 8

Field Value

ItemAnimationMode