ClassDragDecorator
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
DragDecorator()
Initializes a new instance of the DragDecorator class.
Declaration
public DragDecorator()
Fields
DragVisualOffsetProperty
Identifies the DragVisualOffset dependency property.
Declaration
public static readonly DependencyProperty DragVisualOffsetProperty
Field Value
DependencyProperty
EffectsProperty
Identifies the Effects dependency property.
Declaration
public static readonly DependencyProperty EffectsProperty
Field Value
DependencyProperty
RelativeStartPointProperty
Identifies the RelativeStartPoint dependency property.
Declaration
public static readonly DependencyProperty RelativeStartPointProperty
Field Value
DependencyProperty
ReverseZoomTransformProperty
Identifies the ReverseZoomTransform dependency property.
Declaration
public static readonly DependencyProperty ReverseZoomTransformProperty
Field Value
DependencyProperty
UseDefaultCursorsProperty
Identifies UseDefaultCursors dependency property.
Declaration
public static readonly DependencyProperty UseDefaultCursorsProperty
Field Value
DependencyProperty
Properties
DragVisualOffset
Gets or sets the offset at which DragVisual will render.
Declaration
public Point DragVisualOffset { get; set; }
Property Value
Point
Effects
Gets or sets the drag drop effects.
Declaration
public DragDropEffects Effects { get; set; }
Property Value
DragDropEffects
RelativeStartPoint
Gets or sets the offset at which the Cursor will render.
Declaration
public Point RelativeStartPoint { get; set; }
Property Value
Point
ReverseZoomTransform
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.
Declaration
public Transform ReverseZoomTransform { get; set; }
Property Value
Transform
UseDefaultCursors
Gets or sets whether drag operation should use the default cursors that are associated with drag-drop effects.
Methods
OnApplyTemplate()
Gets the presenter.
Declaration
public override void OnApplyTemplate()
OnInitialized(EventArgs)
Raises the event. This method is invoked whenever is set to true internally.
Declaration
protected override void OnInitialized(EventArgs e)
Parameters
e
The RoutedEventArgs that contains the event data.