New to Telerik UI for WPFStart a free 30-day trial

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:

C#
public class DragDecorator : ContentControl

Inheritance: objectDragDecorator

Constructors

Initializes a new instance of the DragDecorator class.

C#
public DragDecorator()

Fields

DragVisualOffsetProperty

DependencyProperty

Identifies the DragVisualOffset dependency property.

C#
public static readonly DependencyProperty DragVisualOffsetProperty

EffectsProperty

DependencyProperty

Identifies the Effects dependency property.

C#
public static readonly DependencyProperty EffectsProperty

RelativeStartPointProperty

DependencyProperty

Identifies the RelativeStartPoint dependency property.

C#
public static readonly DependencyProperty RelativeStartPointProperty

Identifies the ReverseZoomTransform dependency property.

C#
public static readonly DependencyProperty ReverseZoomTransformProperty

UseDefaultCursorsProperty

DependencyProperty

Identifies UseDefaultCursors dependency property.

C#
public static readonly DependencyProperty UseDefaultCursorsProperty

Properties

Gets or sets the offset at which DragVisual will render.

C#
public Point DragVisualOffset { get; set; }

Effects

DragDropEffects

Gets or sets the drag drop effects.

C#
public DragDropEffects Effects { get; set; }

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

C#
public Point RelativeStartPoint { get; set; }

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.

C#
public Transform ReverseZoomTransform { get; set; }

Gets or sets whether drag operation should use the default cursors that are associated with drag-drop effects.

C#
public bool UseDefaultCursors { get; set; }

Methods

Gets the presenter.

C#
public override void OnApplyTemplate()

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

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

The RoutedEventArgs that contains the event data.