Back to Devexpress

DockLayoutManager.LayoutItemMoved Event

wpf-devexpress-dot-xpf-dot-docking-dot-docklayoutmanager-02e7bdef.md

latest5.3 KB
Original Source

DockLayoutManager.LayoutItemMoved Event

Fires after a layout item has been moved to a new position.

Namespace : DevExpress.Xpf.Docking

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

NuGet Package : DevExpress.Wpf.Docking

Declaration

csharp
public event LayoutItemMovedEventHandler LayoutItemMoved
vb
Public Event LayoutItemMoved As LayoutItemMovedEventHandler

Event Data

The LayoutItemMoved event's data class is LayoutItemMovedEventArgs. The following properties provide information specific to this event:

PropertyDescription
HandledGets or sets a value that indicates the present state of the event handling for a routed event as it travels the route. Inherited from RoutedEventArgs.
ItemGets the currently processed item. Inherited from ItemEventArgs.
OriginalSourceGets the original reporting source as determined by pure hit testing, before any possible Source adjustment by a parent class. Inherited from RoutedEventArgs.
RoutedEventGets or sets the RoutedEvent associated with this RoutedEventArgs instance. Inherited from RoutedEventArgs.
SourceGets or sets a reference to the object that raised the event. Inherited from RoutedEventArgs.
TargetGets the item next to which the current item (ItemEventArgs.Item) is inserted.
TypeGets how the current item is inserted next to the target item.

The event data class exposes the following methods:

MethodDescription
InvokeEventHandler(Delegate, Object)When overridden in a derived class, provides a way to invoke event handlers in a type-specific way, which can increase efficiency over the base implementation. Inherited from RoutedEventArgs.
OnSetSource(Object)When overridden in a derived class, provides a notification callback entry point whenever the value of the Source property of an instance changes. Inherited from RoutedEventArgs.

Remarks

An item can be moved to a new position as follows:

See Also

BeginCustomization()

LayoutController

Move

AllowMove

Layout UI Items

DockLayoutManager Class

DockLayoutManager Members

DevExpress.Xpf.Docking Namespace