Class
DragVisualProviderState

Provides the current state of the drag visual provider in the drag-and-drop framework.

Definition

Namespace:Telerik.Windows.DragDrop.Behaviors

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class DragVisualProviderState

Inheritance: objectDragVisualProviderState

Derived Classes: DragResizeVisualProviderState

Constructors

DragVisualProviderState(Point, IEnumerable, IEnumerable<DependencyObject>, FrameworkElement)

Initializes a new instance of the DragVisualProviderState class.

Declaration

cs-api-definition
public DragVisualProviderState(Point relativeStartPoint, IEnumerable draggedItems, IEnumerable<DependencyObject> draggedItemContainers, FrameworkElement host)

Parameters

relativeStartPoint

Point

The cursor offset relative to the drag source.

draggedItems

IEnumerable

The dragged items.

draggedItemContainers

IEnumerable<DependencyObject>

The dragged item containers.

host

FrameworkElement

The items host control.

Properties

DraggedItemContainers

Gets the containers for the dragged items.

Declaration

cs-api-definition
public IEnumerable<DependencyObject> DraggedItemContainers { get; }

Property Value

IEnumerable<DependencyObject>

DraggedItems

Gets the dragged items.

Declaration

cs-api-definition
public IEnumerable DraggedItems { get; }

Property Value

IEnumerable

Host

Gets the items host control.

Declaration

cs-api-definition
public FrameworkElement Host { get; }

Property Value

FrameworkElement

RelativeStartPoint

Gets the cursor offset relative to the drag source.

Declaration

cs-api-definition
public Point RelativeStartPoint { get; }

Property Value

Point