Provides drag-and-drop event data that lets handlers cancel a start, candidate drop, or node drop.
Definition
Namespace:Telerik.WinControls.UI
Assembly:Telerik.WinControls.UI.dll
Syntax:
public class RadTreeViewDragCancelEventArgs : RadTreeViewCancelEventArgs
Inheritance: objectEventArgsCancelEventArgsRadTreeViewCancelEventArgsRadTreeViewDragCancelEventArgs
Inherited Members
Constructors
Initializes cancelable drag data with an initial cancellation state.
public RadTreeViewDragCancelEventArgs(RadTreeNode node, RadTreeNode targetNode, ArrowDirection direction, bool cancel)
The node being dragged.
targetNodeRadTreeNodeThe candidate or final target node, or null before a target is identified or when the operation has no node target.
directionArrowDirectionAn arrow direction stored by this instance but not exposed through a property.
cancelboolInitializes cancelable drag data for a node and an optional target, with cancellation disabled.
public RadTreeViewDragCancelEventArgs(RadTreeNode node, RadTreeNode targetNode)
The node being dragged.
targetNodeRadTreeNodeThe candidate or final target node, or null before a target is identified or when the operation has no node target.
Properties
Gets the target-relative placement selected for the drag, or None when no position is established.
public DropPosition DropPosition { get; protected set; }
Gets the candidate or final target node, or null before a target is identified or when the operation has no node target.
public RadTreeNode TargetNode { get; }