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

Represents the visual element displayed after the cursor when an item is dragged.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.ScheduleView.dll

Syntax:

C#
public class DragVisual : ContentControl, IEffectsPresenter

Inheritance: objectDragVisual

Implements: IEffectsPresenter

Constructors

Initializes a new instance of the DragVisual class.

C#
public DragVisual()

Fields

DraggedItemsSourceProperty

DependencyProperty

Identifies the DraggedItemsSource dependency property.

C#
public static readonly DependencyProperty DraggedItemsSourceProperty

EffectsProperty

DependencyProperty

Identifies the Effects dependency property.

C#
public static readonly DependencyProperty EffectsProperty

IconPositionProperty

DependencyProperty

Identifies the icon position dependency property.

C#
public static readonly DependencyProperty IconPositionProperty
C#
public static readonly DependencyProperty IsDraggingMultipleItemsProperty

Identifies the IsDraggingMultipleItems dependency property.

C#
public static readonly DependencyPropertyKey IsDraggingMultipleItemsPropertyKey

Properties

Gets or sets the dragged items source.

C#
public IEnumerable DraggedItemsSource { get; set; }
Property Value:

The dragged items source.

Effects

DragDropEffects

Gets or sets the effects that manage the icon.

C#
public DragDropEffects Effects { get; set; }

Implements: IEffectsPresenter.Effects

Gets or sets the icon position.

C#
public Point IconPosition { get; set; }

Gets or sets a value indicating whether the dragged items are more than one.

C#
public bool IsDraggingMultipleItems { get; protected set; }
Property Value:

True if the dragged items are more than one; otherwise, False.

Methods

C#
public override void OnApplyTemplate()