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

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

Definition

Namespace:Telerik.Windows.DragDrop

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class DragVisual : ContentControl, IEffectsPresenter

Inheritance: objectDragVisual

Derived Classes: FileBrowserDragVisualListBoxDragVisual

Implements: IEffectsPresenter

Constructors

Initializes a new instance of the DragVisual class.

C#
public DragVisual()

Fields

EffectsProperty

DependencyProperty

Identifies the Effects dependency property.

C#
public static readonly DependencyProperty EffectsProperty

Identifies the IsDraggingMultipleItems dependency property.

C#
public static readonly DependencyProperty IsDraggingMultipleItemsProperty

Properties

Effects

DragDropEffects

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

C#
public DragDropEffects Effects { get; set; }

Implements: IEffectsPresenter.Effects

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

C#
public bool IsDraggingMultipleItems { get; set; }

Methods

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.

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.