Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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

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