Class
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:

cs-api-definition
public class DragDecorator : ContentControl

Inheritance: objectDragDecorator

Constructors

DragDecorator()

Initializes a new instance of the DragDecorator class.

Declaration

cs-api-definition
public DragDecorator()

Fields

DragVisualOffsetProperty

Identifies the DragVisualOffset dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DragVisualOffsetProperty

Field Value

DependencyProperty

EffectsProperty

Identifies the Effects dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EffectsProperty

Field Value

DependencyProperty

RelativeStartPointProperty

Identifies the RelativeStartPoint dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty RelativeStartPointProperty

Field Value

DependencyProperty

ReverseZoomTransformProperty

Identifies the ReverseZoomTransform dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty ReverseZoomTransformProperty

Field Value

DependencyProperty

UseDefaultCursorsProperty

Identifies UseDefaultCursors dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty UseDefaultCursorsProperty

Field Value

DependencyProperty

Properties

DragVisualOffset

Gets or sets the offset at which DragVisual will render.

Declaration

cs-api-definition
public Point DragVisualOffset { get; set; }

Property Value

Point

Effects

Gets or sets the drag drop effects.

Declaration

cs-api-definition
public DragDropEffects Effects { get; set; }

Property Value

DragDropEffects

RelativeStartPoint

Gets or sets the offset at which the Cursor will render.

Declaration

cs-api-definition
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

cs-api-definition
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.

Declaration

cs-api-definition
public bool UseDefaultCursors { get; set; }

Property Value

bool

Methods

OnApplyTemplate()

Gets the presenter.

Declaration

cs-api-definition
public override void OnApplyTemplate()

OnInitialized(EventArgs)

Raises the event. This method is invoked whenever is set to true internally.

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

The RoutedEventArgs that contains the event data.