Class
TreeViewDragVisual

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:

cs-api-definition
public class TreeViewDragVisual : ContentControl

Inheritance: objectTreeViewDragVisual

Constructors

TreeViewDragVisual()

Declaration

cs-api-definition
public TreeViewDragVisual()

Fields

DragPreviewVisibilityProperty

Identifies the DragPreviewVisibility property.

Declaration

cs-api-definition
public static readonly DependencyProperty DragPreviewVisibilityProperty

Field Value

DependencyProperty

DragTooltipVisibilityProperty

Identifies the DragTooltipVisibility property.

Declaration

cs-api-definition
public static readonly DependencyProperty DragTooltipVisibilityProperty

Field Value

DependencyProperty

DropActionTextProperty

Identifies the DropActionText dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DropActionTextProperty

Field Value

DependencyProperty

DropTargetProperty

Identifies the DropTarget dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DropTargetProperty

Field Value

DependencyProperty

DropTargetTemplateProperty

Identifies the DropTargetTemplate dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty DropTargetTemplateProperty

Field Value

DependencyProperty

IsDropPossibleProperty

Identifies the IsDropPossible dependency property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsDropPossibleProperty

Field Value

DependencyProperty

Properties

DragPreviewVisibility

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

Declaration

cs-api-definition
public Visibility DragPreviewVisibility { get; set; }

Property Value

Visibility

DragTooltipVisibility

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

Declaration

cs-api-definition
public Visibility DragTooltipVisibility { get; set; }

Property Value

Visibility

DropActionText

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

Declaration

cs-api-definition
public string DropActionText { get; set; }

Property Value

string

DropTarget

Gets or sets the object representing the drop target.

Declaration

cs-api-definition
public object DropTarget { get; set; }

Property Value

object

DropTargetTemplate

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

Declaration

cs-api-definition
public DataTemplate DropTargetTemplate { get; set; }

Property Value

DataTemplate

IsDropPossible

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.

Declaration

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

Property Value

bool

Methods

OnInitialized(EventArgs)

Declaration

cs-api-definition
protected override void OnInitialized(EventArgs e)

Parameters

e

EventArgs

ResetTheme()

Resets the theme.

Declaration

cs-api-definition
public void ResetTheme()