Class DragDropData
Encapsulates data needed to drag-and-drop a collection of nodes.
Inheritance
Inherited Members
Namespace: Syncfusion.Windows.Forms.Diagram
Assembly: Syncfusion.Diagram.Windows.dll
Syntax
public class DragDropData
Constructors
DragDropData()
Initializes a new instance of the DragDropData class.
Declaration
public DragDropData()
DragDropData(Node, DiagramDragHelper)
Initializes a new instance of the DragDropData class.
Declaration
public DragDropData(Node node, DiagramDragHelper dragHelper)
Parameters
Type | Name | Description |
---|---|---|
Node | node | Node to drag-and-drop. |
DiagramDragHelper | dragHelper | Drag helper |
DragDropData(Node, DropPosition, DiagramDragHelper)
Initializes a new instance of the DragDropData class.
Declaration
public DragDropData(Node node, DropPosition dropPos, DiagramDragHelper dragHelper)
Parameters
Type | Name | Description |
---|---|---|
Node | node | Node to drag-and-drop. |
DropPosition | dropPos | Determines how the node is dropped onto the diagram. |
DiagramDragHelper | dragHelper | Drag helper |
DragDropData(NodeCollection, DiagramDragHelper)
Initializes a new instance of the DragDropData class.
Declaration
public DragDropData(NodeCollection nodes, DiagramDragHelper dragHelper)
Parameters
Type | Name | Description |
---|---|---|
NodeCollection | nodes | Nodes to drag-and-drop. |
DiagramDragHelper | dragHelper | Drag helper |
DragDropData(NodeCollection, DropPosition, DiagramDragHelper)
Initializes a new instance of the DragDropData class.
Declaration
public DragDropData(NodeCollection nodes, DropPosition dropPos, DiagramDragHelper dragHelper)
Parameters
Type | Name | Description |
---|---|---|
NodeCollection | nodes | Nodes to drag-and-drop. |
DropPosition | dropPos | Determines how the node is dropped onto the diagram. |
DiagramDragHelper | dragHelper | Drag helper |
Properties
DragHelper
Gets the drag helper.
Declaration
public DiagramDragHelper DragHelper { get; }
Property Value
Type |
---|
DiagramDragHelper |
DragNodeCueEnabled
Gets or sets a value indicating whether dragged node cue is enabled or not
Declaration
public bool DragNodeCueEnabled { get; set; }
Property Value
Type |
---|
System.Boolean |
DropPosition
Gets or sets how the nodes are positioned on the diagram.
Declaration
public DropPosition DropPosition { get; set; }
Property Value
Type |
---|
DropPosition |
Nodes
Gets the collection of nodes to drag-and-drop.
Declaration
public NodeCollection Nodes { get; }
Property Value
Type |
---|
NodeCollection |