DragEventArgs(RoutedEvent<DragEventArgs>, IDataTransfer, Interactive, Point, KeyModifiers) 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,
IDataTransfer dataTransfer,
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),
dataTransfer As IDataTransfer,
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> *
dataTransfer : IDataTransfer *
target : Interactive *
targetLocation : Point *
keyModifiers : KeyModifiers -> DragEventArgs
Parameters
See Also
Reference
DragEventArgs Class
DragEventArgs Overload
Avalonia.Input Namespace