Summary
Starts a dragging operation with the given
IDataObject
and returns the applied drop effect from the target.
- Namespace
- Avalonia
.Input - Containing Type
- DragDrop
Syntax
public static Task<DragDropEffects> DoDragDrop(PointerEventArgs triggerEvent, IDataObject data, DragDropEffects allowedEffects)
Parameters
Name | Type | Description |
---|---|---|
triggerEvent | PointerEventArgs | |
data | IDataObject | |
allowedEffects | DragDropEffects |
Return Value
Type | Description |
---|---|
Task |