Provides data for the NodeDrop event of the RadTreeView control.
Definition
Namespace:Telerik.Web.UI
Assembly:Telerik.Web.UI.dll
Syntax:
public class RadTreeNodeDragDropEventArgs : EventArgs
Inheritance: objectEventArgsRadTreeNodeDragDropEventArgs
Inherited Members
Constructors
Initializes a new instance of the RadTreeNodeDragDropEventArgs class.
public RadTreeNodeDragDropEventArgs(IList<RadTreeNode> sourceNodes, RadTreeNode destinationNode, RadTreeViewDropPosition dropPosition)
A list of RadTreeNode objects representing the source (dragged) nodes.
destinationNodeRadTreeNodeA RadTreeNode representing the destination node.
dropPositionRadTreeViewDropPositionA RadTreeViewDropPosition value representing the drop position of the source node(s) with regards to the destination node.
Initializes a new instance of the RadTreeNodeDragDropEventArgs class.
public RadTreeNodeDragDropEventArgs(IList<RadTreeNode> sourceNodes, string htmlElementId)
A list of RadTreeNode objects representing the source (dragged) nodes.
htmlElementIdstringA string representing the id of the HTML element on which the source nodes are dropped.
Properties
Gets the destination node.
public RadTreeNode DestDragNode { get; }
A RadTreeNode object representing the destination node.
Gets all source (dragged) nodes.
public IList<RadTreeNode> DraggedNodes { get; }
A list of RadTreeNode object representing the source nodes.
Gets or sets the position at which the user drops the source node(s) with regards to the destination nodes.
public RadTreeViewDropPosition DropPosition { get; set; }
One of the RadTreeViewDropPosition enumeration values.
Gets or sets the ID of the HTML element on which the source node(s) is dropped.
public string HtmlElementID { get; set; }
A string representing the ID of the HTML element on which the source node(s) is dropped.
Gets the source (dragged) node.
public RadTreeNode SourceDragNode { get; }
A RadTreeNode object representing the currently dragged node. The first dragged node is returned if there is more than one dragged node.