Skip to main content

AddDropHandler Method

Adds a handler for the Drop attached event.

Definition

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

public static void AddDropHandler(
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