Class
DragVisual

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:

cs-api-definition
public class DragVisual : ContentControl, IEffectsPresenter

Inheritance: objectDragVisual

Implements: IEffectsPresenter

Constructors

DragVisual()

Initializes a new instance of the DragVisual class.

Declaration

cs-api-definition
public DragVisual()

Fields

DraggedItemsSourceProperty

Identifies the DraggedItemsSource dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DraggedItemsSourceProperty

Field Value

DependencyProperty

EffectsProperty

Identifies the Effects dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EffectsProperty

Field Value

DependencyProperty

IconPositionProperty

Identifies the icon position dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IconPositionProperty

Field Value

DependencyProperty

IsDraggingMultipleItemsProperty

Declaration

cs-api-definition
public static readonly DependencyProperty IsDraggingMultipleItemsProperty

Field Value

DependencyProperty

IsDraggingMultipleItemsPropertyKey

Identifies the IsDraggingMultipleItems dependency property.

Declaration

cs-api-definition
public static readonly DependencyPropertyKey IsDraggingMultipleItemsPropertyKey

Field Value

DependencyPropertyKey

Properties

DraggedItemsSource

Gets or sets the dragged items source.

Declaration

cs-api-definition
public IEnumerable DraggedItemsSource { get; set; }

Property Value

IEnumerable

The dragged items source.

Effects

Gets or sets the effects that manage the icon.

Declaration

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

Property Value

DragDropEffects

Implements IEffectsPresenter.Effects

IconPosition

Gets or sets the icon position.

Declaration

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

Property Value

Point

IsDraggingMultipleItems

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

Declaration

cs-api-definition
public bool IsDraggingMultipleItems { get; protected set; }

Property Value

bool

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

Methods

OnApplyTemplate()

Declaration

cs-api-definition
public override void OnApplyTemplate()