menu

WinForms

  • Code Examples
  • Upgrade Guide
  • User Guide
  • Demos
  • Support
  • Forums
  • Download
Class DragDropData - WindowsForms API Reference | Syncfusion

    Show / Hide Table of Contents

    Class DragDropData

    Encapsulates data needed to drag-and-drop a collection of nodes.

    Inheritance
    System.Object
    DragDropData
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    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
    Back to top Generated by DocFX
    Copyright © 2001 - 2025 Syncfusion Inc. All Rights Reserved