DragDecorator
A content control that display cursor based on what actions are available during a drag operation.
Definition
Namespace:Telerik.Windows.DragDrop
Assembly:Telerik.Windows.Controls.dll
Syntax:
public class DragDecorator : ContentControl
Inheritance: objectDragDecorator
Constructors
Initializes a new instance of the DragDecorator class.
public DragDecorator()
Fields
DragVisualOffsetProperty
DependencyProperty
Identifies the DragVisualOffset dependency property.
public static readonly DependencyProperty DragVisualOffsetProperty
EffectsProperty
DependencyProperty
Identifies the Effects dependency property.
public static readonly DependencyProperty EffectsProperty
RelativeStartPointProperty
DependencyProperty
Identifies the RelativeStartPoint dependency property.
public static readonly DependencyProperty RelativeStartPointProperty
ReverseZoomTransformProperty
DependencyProperty
Identifies the ReverseZoomTransform dependency property.
public static readonly DependencyProperty ReverseZoomTransformProperty
UseDefaultCursorsProperty
DependencyProperty
Identifies UseDefaultCursors dependency property.
public static readonly DependencyProperty UseDefaultCursorsProperty
Properties
DragVisualOffset
Point
Gets or sets the offset at which DragVisual will render.
public Point DragVisualOffset { get; set; }
Effects
DragDropEffects
Gets or sets the drag drop effects.
public DragDropEffects Effects { get; set; }
RelativeStartPoint
Point
Gets or sets the offset at which the Cursor will render.
public Point RelativeStartPoint { get; set; }
ReverseZoomTransform
Transform
Gets or sets the transformation that should be applied on the Image element that shows different cursors. This property is used to remove the browser zooming.
public Transform ReverseZoomTransform { get; set; }
Gets or sets whether drag operation should use the default cursors that are associated with drag-drop effects.
public bool UseDefaultCursors { get; set; }
Methods
Gets the presenter.
public override void OnApplyTemplate()
Raises the event. This method is invoked whenever is set to true internally.
protected override void OnInitialized(EventArgs e)
The RoutedEventArgs that contains the event data.