DragDrop Class

Definition

Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll) Version: 11.3.999
public static class DragDrop
Inheritance
Object    DragDrop

Methods

DoDragDrop(PointerEventArgs, IDataObject, DragDropEffects) Starts a dragging operation with the given IDataObject and returns the applied drop effect from the target.
GetAllowDrop(Interactive) Gets a value indicating whether the given element can be used as the target of a drag-and-drop operation.
SetAllowDrop(Interactive, Boolean) Sets a value indicating whether the given interactive can be used as the target of a drag-and-drop operation.

Fields

AllowDropProperty 
DragEnterEvent Event which is raised, when a drag-and-drop operation enters the element.
DragLeaveEvent Event which is raised, when a drag-and-drop operation leaves the element.
DragOverEvent Event which is raised, when a drag-and-drop operation is updated while over the element.
DropEvent Event which is raised, when a drag-and-drop operation should complete over the element.

See Also