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:
public class TreeViewDragVisual : ContentControl
Inheritance: objectTreeViewDragVisual
Constructors
public TreeViewDragVisual()
Fields
DragPreviewVisibilityProperty
DependencyProperty
Identifies the DragPreviewVisibility property.
public static readonly DependencyProperty DragPreviewVisibilityProperty
DragTooltipVisibilityProperty
DependencyProperty
Identifies the DragTooltipVisibility property.
public static readonly DependencyProperty DragTooltipVisibilityProperty
DropActionTextProperty
DependencyProperty
Identifies the DropActionText dependency property.
public static readonly DependencyProperty DropActionTextProperty
DropTargetProperty
DependencyProperty
Identifies the DropTarget dependency property.
public static readonly DependencyProperty DropTargetProperty
DropTargetTemplateProperty
DependencyProperty
Identifies the DropTargetTemplate dependency property.
public static readonly DependencyProperty DropTargetTemplateProperty
IsDropPossibleProperty
DependencyProperty
Identifies the IsDropPossible dependency property.
public static readonly DependencyProperty IsDropPossibleProperty
Properties
DragPreviewVisibility
Visibility
Gets or sets the visibility of the area showing a the dragged items. This is a dependency property.
public Visibility DragPreviewVisibility { get; set; }
DragTooltipVisibility
Visibility
Gets or sets the visibility of the tooltip showing an icon, action text and a preview of the destination. This is a dependency property.
public Visibility DragTooltipVisibility { get; set; }
Gets or sets text describing the drop action displayed as a hint.
public string DropActionText { get; set; }
Gets or sets the object representing the drop target.
public object DropTarget { get; set; }
DropTargetTemplate
DataTemplate
Gets or sets the data template used to present the value in DropTarget property.
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.
public bool IsDropPossible { get; set; }
Methods
Resets the theme.
public void ResetTheme()