New to Telerik UI for WinForms? Start a free 30-day trial

Supplies the candidate node drop position to a TreeView drag-hint preview handler.

Definition

Namespace:Telerik.WinControls.UI

Assembly:Telerik.WinControls.UI.dll

Syntax:

C#
public class TreeViewPreviewDragHintEventArgs : PreviewDragHintEventArgs

Inheritance: objectEventArgsRadDragEventArgsPreviewDragHintEventArgsTreeViewPreviewDragHintEventArgs

Inherited Members PreviewDragHintEventArgs.DragHintPreviewDragHintEventArgs.UseDefaultHintRadDragEventArgs.DragInstanceEventArgs.Empty

Constructors

Initializes preview data with the dragged item and the candidate drop position.

C#
public TreeViewPreviewDragHintEventArgs(ISupportDrag dragInstance, DropPosition dropPosition)
Parameters:dragInstanceISupportDrag

The item participating in the drag operation.

dropPositionDropPosition

The position computed for the current pointer location.

Properties

Gets or sets the candidate position used by the preview handler to interpret or customize drag feedback.

C#
public DropPosition DropPosition { get; set; }

Changing this value does not change the position used to select the TreeView's built-in drop hint.