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.ItemPositionChanged Event

Fires when an item is moved to a new position.

Namespace: DevExpress.Xpf.LayoutControl

Assembly: DevExpress.Xpf.LayoutControl.v24.2.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