Back to Devexpress

FlowLayoutControl.ItemMovingAnimationDuration Property

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-flowlayoutcontrol-c6290ac9.md

latest2.7 KB
Original Source

FlowLayoutControl.ItemMovingAnimationDuration Property

Gets or sets the duration of item movement animation in the FlowLayoutControl. This is a dependency property.

Namespace : DevExpress.Xpf.LayoutControl

Assembly : DevExpress.Xpf.LayoutControl.v25.2.dll

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

csharp
public TimeSpan ItemMovingAnimationDuration { get; set; }
vb
Public Property ItemMovingAnimationDuration As TimeSpan

Property Value

TypeDescription
TimeSpan

A TimeSpan value that specifies the duration of item movement animation in the FlowLayoutControl.

|

Remarks

Items displayed by a FlowLayoutControl support drag-and-drop movement at runtime. Set the FlowLayoutControl.AllowItemMoving property to true to turn this feature on. In this case, you can enable a soft animation for this movement by setting the FlowLayoutControl.AnimateItemMoving property to true. The ItemMovingAnimationDuration property specifies how long this animation will last. You can also use the FlowLayoutControl.ItemDropAnimationDuration field to set how long the drop animation lasts.

The default value of the ItemMovingAnimationDuration property is 200 milliseconds, and is stored in the FlowLayoutControl.DefaultItemMovingAnimationDuration field.

See Also

AllowItemMoving

AnimateItemMoving

ItemDropAnimationDuration

FlowLayoutControl Class

FlowLayoutControl Members

DevExpress.Xpf.LayoutControl Namespace