Back to Devexpress

FlowLayoutControl.ItemPositionChanged Event

wpf-devexpress-dot-xpf-dot-layoutcontrol-dot-flowlayoutcontrol-5767c810.md

latest2.1 KB
Original Source

FlowLayoutControl.ItemPositionChanged Event

Fires when an item is moved to a new position.

Namespace : DevExpress.Xpf.LayoutControl

Assembly : DevExpress.Xpf.LayoutControl.v25.2.dll

NuGet Package : DevExpress.Wpf.LayoutControl

Declaration

csharp
public event ValueChangedEventHandler<int> ItemPositionChanged
vb
Public Event ItemPositionChanged As ValueChangedEventHandler(Of Integer)

Event Data

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

PropertyDescription
NewValueGets an object that represents the new value of a specific property.
OldValueGets 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

AllowItemMoving

FlowLayoutControl Class

FlowLayoutControl Members

DevExpress.Xpf.LayoutControl Namespace