Skip to main content

DoDragDrop Method

Starts a dragging operation with the given IDataObject and returns the applied drop effect from the target.

Definition

Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public static Task<DragDropEffects> DoDragDrop(
PointerEventArgs triggerEvent,
IDataObject data,
DragDropEffects allowedEffects
)

Parameters

  PointerEventArgs
 
  IDataObject
 
  DragDropEffects
 

Return Value

Task(DragDropEffects)

See Also

Reference

DragDrop Class
Avalonia.Input Namespace
DataObject