DragDropOptions
An object that holds information about the current drag/drop operation.
Definition
Namespace:Telerik.Windows.Controls.DragDrop
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class DragDropOptions
Inheritance: objectDragDropOptions
Constructors
public DragDropOptions()
Properties
ArrowCue
ContentControl
Gets or sets the arrow that will appear during dragging.
public ContentControl ArrowCue { get; set; }
The SourceCue can only be changed during the DragQuery stage.
Controls Arrow Cue host position in relation to the other windows.This option is only applied in WPF native mode.
public VisualCueBehavior ArrowCueDisplayBehavior { get; set; }
This option is only applied in WPF native mode.
CurrentCursor
Cursor
Gets or sets the current mouse cursor while performing drag operation.
public Cursor CurrentCursor { get; set; }
CurrentDragPoint
Point
Gets the point where the mouse is relative to the root canvas.
public Point CurrentDragPoint { get; }
Destination
FrameworkElement
Gets the element that has registered the AllowDrop.
public FrameworkElement Destination { get; set; }
Gets or sets the element that will be dragged visually.
public object DragCue { get; set; }
The SourceCue can only be changed during the DragQuery stage.
Controls Drag Cue host position in relation to the other windows.
public VisualCueBehavior DragCueDisplayBehavior { get; set; }
This option is only applied in WPF native mode.
DropDataObject
DataObject
Gets or sets the object that will be passed on native Drag Drop operations.
public DataObject DropDataObject { get; set; }
This option is only applied in WPF native mode.
Effects
DragDropEffects?
Gets or sets the DragDrop effects during native Drag Drop operations.
public DragDropEffects? Effects { get; set; }
This option is only applied in WPF native mode.
MouseClickPoint
Point
Gets the point where the mouse was first pressed relative to the root canvas.
public Point MouseClickPoint { get; }
ParticipatingVisualRoots
IList<UIElement>
Gets a collection with the visual roots what will participate in the drag/drop operation but are not descendants of the application root visual.
public IList<UIElement> ParticipatingVisualRoots { get; }
All popups that should participate in the drag/drop should be added in this collection.
Gets or sets the data object that is transferred in the drag/drop operation.
public object Payload { get; set; }
The Payload can only be set during the DragQuery stage of DragQuery.
RelativeDragPoint
Point
Gets the point where the mouse is relative to the destination element.
public Point RelativeDragPoint { get; }
Source
FrameworkElement
Gets the source that has registered with AllowDrag.
public FrameworkElement Source { get; }
Gets the current status of the drag and drop operation.
public DragStatus Status { get; }