Class
ScreenshotDragVisualProvider

IDragVisualProvider that creates drag visuals containing screenshots of the dragged item containers.

Definition

Namespace:Telerik.Windows.DragDrop.Behaviors

Assembly:Telerik.Windows.Controls.dll

Syntax:

cs-api-definition
public class ScreenshotDragVisualProvider : IDragVisualProvider

Inheritance: objectScreenshotDragVisualProvider

Implements: IDragVisualProvider

Constructors

ScreenshotDragVisualProvider()

Declaration

cs-api-definition
public ScreenshotDragVisualProvider()

Properties

UseDefaultCursors

Specifies whether the drag-drop effects will change the mouse cursor or not. Return true if the cursor should change depending the drag-drop effects, otherwise false.

Declaration

cs-api-definition
public bool UseDefaultCursors { get; }

Property Value

bool

Implements IDragVisualProvider.UseDefaultCursors

Methods

CreateDragVisual(DragVisualProviderState)

When overridden in a derived class allows customization of the drag visual. If the returned element implements IEffectsPresenter, its Effects property will be automatically set during the drag-drop operation.

Declaration

cs-api-definition
public FrameworkElement CreateDragVisual(DragVisualProviderState state)

Parameters

state

DragVisualProviderState

Returns

FrameworkElement

Implements IDragVisualProvider.CreateDragVisual(DragVisualProviderState)

GetDragVisualOffset(DragVisualProviderState)

When overridden in a derived class allows customization of the drag visual offset relatively to the mouse pointer.

Declaration

cs-api-definition
public Point GetDragVisualOffset(DragVisualProviderState state)

Parameters

state

DragVisualProviderState

Returns

Point

Implements IDragVisualProvider.GetDragVisualOffset(DragVisualProviderState)