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

A visual representation of drag drop operation. Displays an image of dragged items and a textual representation of drop position and action.

Definition

Namespace:Telerik.Windows.Controls.TreeView

Assembly:Telerik.Windows.Controls.Navigation.dll

Syntax:

C#
public class TreeViewDragVisual : ContentControl

Inheritance: objectTreeViewDragVisual

Constructors

C#
public TreeViewDragVisual()

Fields

Identifies the DragPreviewVisibility property.

C#
public static readonly DependencyProperty DragPreviewVisibilityProperty

Identifies the DragTooltipVisibility property.

C#
public static readonly DependencyProperty DragTooltipVisibilityProperty

DropActionTextProperty

DependencyProperty

Identifies the DropActionText dependency property.

C#
public static readonly DependencyProperty DropActionTextProperty

DropTargetProperty

DependencyProperty

Identifies the DropTarget dependency property.

C#
public static readonly DependencyProperty DropTargetProperty

DropTargetTemplateProperty

DependencyProperty

Identifies the DropTargetTemplate dependency property.

C#
public static readonly DependencyProperty DropTargetTemplateProperty

IsDropPossibleProperty

DependencyProperty

Identifies the IsDropPossible dependency property.

C#
public static readonly DependencyProperty IsDropPossibleProperty

Properties

Gets or sets the visibility of the area showing a the dragged items. This is a dependency property.

C#
public Visibility DragPreviewVisibility { get; set; }

Gets or sets the visibility of the tooltip showing an icon, action text and a preview of the destination. This is a dependency property.

C#
public Visibility DragTooltipVisibility { get; set; }

Gets or sets text describing the drop action displayed as a hint.

C#
public string DropActionText { get; set; }

Gets or sets the object representing the drop target.

C#
public object DropTarget { get; set; }

DropTargetTemplate

DataTemplate

Gets or sets the data template used to present the value in DropTarget property.

C#
public DataTemplate DropTargetTemplate { get; set; }

Gets or sets the state identifying whether drop is possible or not. If drop is possible a drop possible visual will bi displayed as a hint. If drop is not possible a drop impossible visual will be displayed as a hint.

C#
public bool IsDropPossible { get; set; }

Methods

C#
protected override void OnInitialized(EventArgs e)
Parameters:eEventArgs

Resets the theme.

C#
public void ResetTheme()