Class DragDropOptions
An object that holds information about the current drag/drop operation.
Inheritance
Inherited Members
Namespace: Telerik.Windows.Controls.DragDrop
Assembly: Telerik.Windows.Controls.dll
Syntax
public class DragDropOptions
Remarks
Used for giving information about and customizing a drag/drop operation.
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
System.Windows.Controls.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
VisualCueBehavior
|
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
System.Windows.Input.Cursor
|
CurrentDragPoint
Gets the point where the mouse is relative to the root canvas.
Declaration
public Point CurrentDragPoint { get; }
Property Value
System.Windows.Point
|
Destination
Gets the element that has registered the AllowDrop.
Declaration
public FrameworkElement Destination { get; set; }
Property Value
System.Windows.FrameworkElement
|
DragCue
Gets or sets the element that will be dragged visually.
Declaration
public object DragCue { get; set; }
Property Value
System.Object
|
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
VisualCueBehavior
|
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
System.Windows.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
System.Nullable<System.Windows.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
System.Windows.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
System.Collections.Generic.IList<System.Windows.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
System.Object
|
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
System.Windows.Point
|
Source
Gets the source that has registered with AllowDrag.
Declaration
public FrameworkElement Source { get; }
Property Value
System.Windows.FrameworkElement
|
Status
Gets the current status of the drag and drop operation.
Declaration
public DragStatus Status { get; }
Property Value
DragStatus
|