Skip to main content

FlowLayoutControl.ItemPositionChanged Event

Fires when an item is moved to a new position.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v24.1.dll

NuGet Package: DevExpress.Wpf.LayoutControl

Declaration

public event ValueChangedEventHandler<int> ItemPositionChanged

Event Data

The ItemPositionChanged event's data class is ValueChangedEventArgs<Int32>. The following properties provide information specific to this event:

Property Description
NewValue Gets an object that represents the new value of a specific property.
OldValue Gets an object that represents the old value of a specific property.

Remarks

Items can be moved to a new position via drag-and-drop, provided that the FlowLayoutControl.AllowItemMoving property is set to true. The ItemPositionChanged event fires after an item has been moved. The event’s parameters allow you to identify the item’s old and new positions.

See Also