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