Skip to main content
A newer version of this page is available. .

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.v20.2.dll

NuGet Packages: DevExpress.WindowsDesktop.Wpf.LayoutControl, DevExpress.Wpf.Layout

Declaration

public TimeSpan ItemMovingAnimationDuration { get; set; }

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.

See Also