Class EmptyDragVisualProvider
IDragVisualProvider that does not create visuals, but returns null.
Inheritance
Namespace: Telerik.Windows.DragDrop.Behaviors
Assembly: Telerik.Windows.Controls.dll
Syntax
public class EmptyDragVisualProvider : Object, IDragVisualProvider
Constructors
EmptyDragVisualProvider()
Declaration
public EmptyDragVisualProvider()
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
public bool UseDefaultCursors { get; }
Property Value
System.Boolean
|
Implements
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
public FrameworkElement CreateDragVisual(DragVisualProviderState state)
Parameters
DragVisualProviderState
state
|
Returns
System.Windows.FrameworkElement
|
Implements
GetDragVisualOffset(DragVisualProviderState)
When overridden in a derived class allows customization of the drag visual offset relatively to the mouse pointer.
Declaration
public Point GetDragVisualOffset(DragVisualProviderState state)
Parameters
DragVisualProviderState
state
|
Returns
System.Windows.Point
|