Class
DragVisual

Represents the visual representation of a drag-and-drop operation.

Definition

Namespace:Telerik.Windows.DragDrop

Assembly:Telerik.Windows.Controls.dll

Syntax:

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

Inheritance: objectDragVisual

Derived Classes: FileBrowserDragVisualListBoxDragVisual

Implements: IEffectsPresenter

Constructors

DragVisual()

Initializes a new instance of the DragVisual class.

Declaration

cs-api-definition
public DragVisual()

Fields

EffectsProperty

Identifies the Effects dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty EffectsProperty

Field Value

DependencyProperty

IsDraggingMultipleItemsProperty

Identifies the IsDraggingMultipleItems dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsDraggingMultipleItemsProperty

Field Value

DependencyProperty

Properties

Effects

Gets or sets the Effects. This is a dependency property.

Declaration

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

Property Value

DragDropEffects

Implements IEffectsPresenter.Effects

IsDraggingMultipleItems

Gets or sets the IsDraggingMultipleItems. This is a dependency property.

Declaration

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

Property Value

bool

Methods

OnApplyTemplate()

When overridden in a derived class, is invoked whenever application code or internal processes (such as a rebuilding layout pass) call . In simplest terms, this means the method is called just before a UI element displays in an application. For more information, see Remarks.

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.