Skip to main content

DiagramCustomItemDragEventArgs(DiagramItem, PointFloat, IList<DiagramItem>, LazyArg<IDataObject>, DragDropEffects) Constructor

Initializes a new instance of the DiagramCustomItemDragEventArgs class.

Namespace: DevExpress.XtraDiagram

Assembly: DevExpress.XtraDiagram.v24.1.dll

NuGet Package: DevExpress.Win.Diagram

Declaration

public DiagramCustomItemDragEventArgs(
    DiagramItem sourceItem,
    PointFloat sourceItemPoint,
    IList<DiagramItem> items,
    LazyArg<IDataObject> data,
    DragDropEffects result
)

Parameters

Name Type Description
sourceItem DiagramItem

A DiagramItem descendant that represents the item the end-user is dragging.

sourceItemPoint PointFloat

A point on the canvas where the end-user initiated the drag-and-drop operation.

items IList<DiagramItem>

A list of DiagramItem descendants that are objects of the drag-and-drop operation.

data DevExpress.Diagram.Core.Native.LazyArg<IDataObject>

A System.Windows.Forms.IDataObject object that provides data about the diagram items the end-user is dragging.

result DragDropEffects
See Also