Skip to main content

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

Initializes a new instance of the DiagramItemsMovingEventArgs class.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

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

Parameters

Name Type Description
items ReadOnlyCollection<DevExpress.XtraDiagram.MovingItem>

A collection of DevExpress.XtraDiagram.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 the operation; otherwise, false.

See Also