Skip to main content

AddDragEnterHandler Method

Adds a handler for the DragEnter attached event.

Definition

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

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