DragDrop Class
Definition
Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public static class DragDrop
Public NotInheritable Class DragDrop
[<AbstractClassAttribute>]
[<SealedAttribute>]
type DragDrop = class end
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. |