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.v24.2.dll
NuGet Package: DevExpress.Wpf.LayoutControl
Declaration
Property Value
Type | Description |
---|---|
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.