Skip to main content

DiagramItemsMovingEventArgs(DiagramControl, ReadOnlyCollection<MovingItem>, DiagramActionStage, ItemsActionSource, Boolean) Constructor

Initializes a new instance of the DiagramItemsMovingEventArgs class.

Namespace: DevExpress.Xpf.Diagram

Assembly: DevExpress.Xpf.Diagram.v23.2.dll

NuGet Package: DevExpress.Wpf.Diagram

Declaration

public DiagramItemsMovingEventArgs(
    DiagramControl source,
    ReadOnlyCollection<MovingItem> items,
    DiagramActionStage stage,
    ItemsActionSource actionSource,
    bool allow
)

Parameters

Name Type Description
source DiagramControl

The DiagramControl that raised the event.

items ReadOnlyCollection<DevExpress.Xpf.Diagram.MovingItem>

A collection of DevExpress.Xpf.Diagram.MovingItem objects that store information about items that are being moved.

stage DiagramActionStage

A DiagramActionStage enumeration value that indicates whether the moving operation has just started, is continuing or has been finished or canceled.

actionSource ItemsActionSource

A ItemsActionSource enumeration value that indicates whether the moving operation is performed using drag-and-drop, the Properties Panel or by pressing key shortcuts.

allow Boolean

true, to allow performing the operation; otherwise, false.

See Also