Class
TreeListViewDragCue

The visual object used as a DragCue in RadTreeListView.

Definition

Namespace:Telerik.Windows.Controls

Assembly:Telerik.Windows.Controls.GridView.dll

Syntax:

cs-api-definition
public class TreeListViewDragCue : ItemsControl

Inheritance: objectTreeListViewDragCue

Constructors

TreeListViewDragCue()

Declaration

cs-api-definition
public TreeListViewDragCue()

Fields

DragActionContentProperty

Identifies the DragActionContent property.

Declaration

cs-api-definition
public static readonly DependencyProperty DragActionContentProperty

Field Value

DependencyProperty

DragActionContentTemplateProperty

Identifies the DragActionContentTemplate property.

Declaration

cs-api-definition
public static readonly DependencyProperty DragActionContentTemplateProperty

Field Value

DependencyProperty

DragPreviewVisibilityProperty

Identifies the DragPreviewVisibility property.

Declaration

cs-api-definition
public static readonly DependencyProperty DragPreviewVisibilityProperty

Field Value

DependencyProperty

DragTooltipContentProperty

Identifies the DragTooltipContent property.

Declaration

cs-api-definition
public static readonly DependencyProperty DragTooltipContentProperty

Field Value

DependencyProperty

DragTooltipContentTemplateProperty

Identifies the DragTooltipContentTemplate property.

Declaration

cs-api-definition
public static readonly DependencyProperty DragTooltipContentTemplateProperty

Field Value

DependencyProperty

DragTooltipVisibilityProperty

Identifies the DragTooltipVisibility property.

Declaration

cs-api-definition
public static readonly DependencyProperty DragTooltipVisibilityProperty

Field Value

DependencyProperty

DropImpossibleIconProperty

Identifies the DropImpossibleIcon property.

Declaration

cs-api-definition
public static readonly DependencyProperty DropImpossibleIconProperty

Field Value

DependencyProperty

DropImpossibleIconTemplateProperty

Identifies the DropImpossibleIcon property.

Declaration

cs-api-definition
public static readonly DependencyProperty DropImpossibleIconTemplateProperty

Field Value

DependencyProperty

DropPossibleIconProperty

Identifies the DropPossibleIcon property.

Declaration

cs-api-definition
public static readonly DependencyProperty DropPossibleIconProperty

Field Value

DependencyProperty

DropPossibleIconTemplateProperty

Identifies the DropPossibleIconTemplate property.

Declaration

cs-api-definition
public static readonly DependencyProperty DropPossibleIconTemplateProperty

Field Value

DependencyProperty

IsDropPossibleProperty

Identifies the IsDropPossible property.

Declaration

cs-api-definition
public static readonly DependencyProperty IsDropPossibleProperty

Field Value

DependencyProperty

Properties

DragActionContent

Gets or sets the content that will appear in the DragCue and is meant to represent the possible drop action. This is a dependency property.

Declaration

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

Property Value

object

DragActionContentTemplate

Gets or sets the template for the DragActionContent. This is a dependency property.

Declaration

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

Property Value

DataTemplate

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

DragTooltipContent

Gets or sets the content that will appear in the tooltip of the DragCue. Often this is the destination item is placed here. This is a dependency property.

Declaration

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

Property Value

object

DragTooltipContentTemplate

Gets or sets the data template for the DragTooltip content. This is a dependency property.

Declaration

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

Property Value

DataTemplate

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

DropImpossibleIcon

Gets or sets the content that will appear as an icon when the a drop is not possible. This is a dependency property.

Declaration

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

Property Value

object

DropImpossibleIconTemplate

Gets or sets the data template of the object that will be shown when a drop is not possible. This is a dependency property.

Declaration

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

Property Value

DataTemplate

DropPossibleIcon

Gets or sets the content that will appear as an icon when the a drop is possible. This is a dependency property.

Declaration

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

Property Value

object

DropPossibleIconTemplate

Gets or sets the data template of the object that will be shown when a drop is possible. This is a dependency property.

Declaration

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

Property Value

DataTemplate

IsDropPossible

Gets or sets a value indicating whether a drop is possible. This value only changes the DragCue and may not be related to whether a drop could actually happen. This is a dependency property.

Declaration

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

Property Value

bool

Methods

ChangeVisualState(bool)

Declaration

cs-api-definition
protected void ChangeVisualState(bool useTransitions)

Parameters

useTransitions

bool

GetNonVisualRepresentation(object)

Return a non-visual representation of an item. This is helpful when DragPreview of visual items needs to be shown.

Declaration

cs-api-definition
public static object GetNonVisualRepresentation(object item)

Parameters

item

object

The item to return non-visual representation for.

Returns

object

A non-visual representation of an item.

OnInitialized(EventArgs)

Declaration

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

Parameters

e

EventArgs

ResetTheme()

Resets the theme of the TreeListViewDragCue.

Declaration

cs-api-definition
public void ResetTheme()

SetSafeItemsSource(IEnumerable)

Sets the ItemsSource, extract non-visual representation of all visual items to avoid errors.

Declaration

cs-api-definition
public void SetSafeItemsSource(IEnumerable itemsSource)

Parameters

itemsSource

IEnumerable

The items that will be shown in the preview area.