Skip to main content

AddDragOverHandler Method

Adds a handler for the DragOver attached event.

Definition​

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

public static void AddDragOverHandler(
Interactive element,
EventHandler<DragEventArgs> handler
)

Parameters​

  Interactive
The element to attach the handler to.
  EventHandler(DragEventArgs)
The handler for the event.

See Also​

Reference​

DragDrop Class
Avalonia.Input Namespace