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

DiagramBeforeItemsMovingEventArgs(DiagramControl, IList<DiagramItem>, ItemsActionSource, Boolean) Constructor

In This Article

Initializes a new instance of the DiagramBeforeItemsMovingEventArgs class with specified settings.

Namespace: DevExpress.Xpf.Diagram

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

NuGet Package: DevExpress.Wpf.Diagram

#Declaration

public DiagramBeforeItemsMovingEventArgs(
    DiagramControl source,
    IList<DiagramItem> items,
    ItemsActionSource actionSource,
    bool isCopying
)

#Parameters

Name Type Description
source DiagramControl

The DiagramControl that raised the event.

items IList<DiagramItem>

A collection of items the user is attempting to move.

actionSource ItemsActionSource

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

isCopying Boolean

true, if the user attempts to copy diagram items by holding the Ctrl key; otherwise, false.

See Also