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)
- C#
- VB
- F#
[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
)
<UnstableAttribute("This constructor might be removed in 12.0. For unit testing, consider using DragDrop.DoDragDrop or IHeadlessWindow.DragDrop.")>
Public Sub New (
routedEvent As RoutedEvent(Of DragEventArgs),
data As IDataObject,
target As Interactive,
targetLocation As Point,
keyModifiers As KeyModifiers
)
[<UnstableAttribute("This constructor might be removed in 12.0. For unit testing, consider using DragDrop.DoDragDrop or IHeadlessWindow.DragDrop.")>]
new :
routedEvent : RoutedEvent<DragEventArgs> *
data : IDataObject *
target : Interactive *
targetLocation : Point *
keyModifiers : KeyModifiers -> DragEventArgs