New to Telerik UI for WPFStart a free 30-day trial

IDragVisualProvider that does not create visuals, but returns null.

Definition

Namespace:Telerik.Windows.DragDrop.Behaviors

Assembly:Telerik.Windows.Controls.dll

Syntax:

C#
public class EmptyDragVisualProvider : IDragVisualProvider

Inheritance: objectEmptyDragVisualProvider

Implements: IDragVisualProvider

Constructors

C#
public EmptyDragVisualProvider()

Properties

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.

C#
public bool UseDefaultCursors { get; }

Implements: IDragVisualProvider.UseDefaultCursors

Methods

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.

C#
public FrameworkElement CreateDragVisual(DragVisualProviderState state)
Parameters:stateDragVisualProviderStateReturns:

FrameworkElement

Implements: IDragVisualProvider.CreateDragVisual(DragVisualProviderState)

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

C#
public Point GetDragVisualOffset(DragVisualProviderState state)
Parameters:stateDragVisualProviderStateReturns:

Point

Implements: IDragVisualProvider.GetDragVisualOffset(DragVisualProviderState)