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

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

In This Article

Initializes a new instance of the DiagramItemsMovingEventArgs class.

Namespace: DevExpress.Xpf.Diagram

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