Skip to main content

DoDragDropAsync Method

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

Definition

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

public static Task<DragDropEffects> DoDragDropAsync(
PointerEventArgs triggerEvent,
IDataTransfer dataTransfer,
DragDropEffects allowedEffects
)

Parameters

  PointerEventArgs
 
  IDataTransfer
 
  DragDropEffects
 

Return Value

Task(DragDropEffects)

See Also

Reference

DragDrop Class
Avalonia.Input Namespace
DataTransfer