Skip to main content
All docs
V25.1
  • DiagramBeforeItemsMovingEventArgs(DiagramControl, IList<DiagramItem>, ItemsActionSource, Boolean) Constructor

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

    Namespace: DevExpress.Xpf.Diagram

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