InterfaceIDragVisualProvider
Interface
Definition
Namespace:Telerik.UI.Xaml.Controls.DragDrop.Behaviors
Assembly:Telerik.WinUI.Controls.dll
Syntax:
cs-api-definition
public interface IDragVisualProvider
Derived Classes:
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.
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
FrameworkElement CreateDragVisual(DragVisualProviderState state)
Parameters
state
Returns
FrameworkElement
GetDragVisualOffset(DragVisualProviderState)
When overridden in a derived class allows customization of the drag visual offset relatively to the mouse pointer.
Declaration
cs-api-definition
Point GetDragVisualOffset(DragVisualProviderState state)
Parameters
state
Returns
Point