Skip to main content

DragEventArgs Constructor

Unstable.

Note: This API is unstable and may change in a future release.

Initializes a new instance of the DragEventArgs class

Definition

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

[UnstableAttribute("This constructor might be removed in 12.0. For unit testing, consider using DragDrop.DoDragDrop or IHeadlessWindow.DragDrop.")]
public DragEventArgs(
RoutedEvent<DragEventArgs> routedEvent,
IDataObject data,
Interactive target,
Point targetLocation,
KeyModifiers keyModifiers
)

Parameters

  RoutedEvent(DragEventArgs)
 
  IDataObject
 
  Interactive
 
  Point
 
  KeyModifiers
 

See Also

Reference

DragEventArgs Class
Avalonia.Input Namespace