ClassDragVisual
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:
public class DragVisual : ContentControl, IEffectsPresenter
Inheritance: objectDragVisual
Implements:
Constructors
DragVisual()
Initializes a new instance of the DragVisual class.
Declaration
public DragVisual()
Fields
DraggedItemsSourceProperty
Identifies the DraggedItemsSource dependency property.
Declaration
public static readonly DependencyProperty DraggedItemsSourceProperty
Field Value
DependencyProperty
EffectsProperty
Identifies the Effects dependency property.
Declaration
public static readonly DependencyProperty EffectsProperty
Field Value
DependencyProperty
IconPositionProperty
Identifies the icon position dependency property.
Declaration
public static readonly DependencyProperty IconPositionProperty
Field Value
DependencyProperty
IsDraggingMultipleItemsProperty
Declaration
public static readonly DependencyProperty IsDraggingMultipleItemsProperty
Field Value
DependencyProperty
IsDraggingMultipleItemsPropertyKey
Identifies the IsDraggingMultipleItems dependency property.
Declaration
public static readonly DependencyPropertyKey IsDraggingMultipleItemsPropertyKey
Field Value
DependencyPropertyKey
Properties
DraggedItemsSource
Gets or sets the dragged items source.
Declaration
public IEnumerable DraggedItemsSource { get; set; }
Property Value
The dragged items source.
Effects
Gets or sets the effects that manage the icon.
Declaration
public DragDropEffects Effects { get; set; }
Property Value
DragDropEffects
Implements
IconPosition
Gets or sets the icon position.
Declaration
public Point IconPosition { get; set; }
Property Value
Point
IsDraggingMultipleItems
Gets or sets a value indicating whether the dragged items are more than one.
Declaration
public bool IsDraggingMultipleItems { get; protected set; }
Property Value
True if the dragged items are more than one; otherwise, False.
Methods
OnApplyTemplate()
Declaration
public override void OnApplyTemplate()