DragEventArgs Class
Definition
public class DragEventArgs
Constructors
| Name | Description |
|---|---|
| DragEventArgs | No summary available. |
DragEventArgs Constructor
public DragEventArgs(Avalonia.Interactivity.RoutedEvent<TEventArgs><Avalonia.Input.DragEventArgs> routedEvent, Avalonia.Input.IDataTransfer dataTransfer, Avalonia.Interactivity.Interactive target, Avalonia.Point targetLocation, Avalonia.Input.KeyModifiers keyModifiers)
Parameters
routedEvent Avalonia.Interactivity.RoutedEvent<TEventArgs><Avalonia.Input.DragEventArgs>
dataTransfer Avalonia.Input.IDataTransfer
target Avalonia.Interactivity.Interactive
targetLocation Avalonia.Point
keyModifiers Avalonia.Input.KeyModifiers
Methods
| Name | Description |
|---|---|
| GetPosition | No summary available. |
GetPosition Method
public Avalonia.Point GetPosition(Avalonia.Visual relativeTo)
Parameters
relativeTo Avalonia.Visual
Returns
Properties
| Name | Description |
|---|---|
| DataTransfer | No summary available. |
| DragEffects | No summary available. |
| KeyModifiers | No summary available. |
| Handled | Gets or sets a value indicating whether the routed event has already been handled. Inherited from RoutedEventArgs. |
| Route | Gets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event. Inherited from RoutedEventArgs. |
| RoutedEvent | Gets or sets the routed event associated with these event args. Inherited from RoutedEventArgs. |
| Source | Gets or sets the source object that raised the routed event. Inherited from RoutedEventArgs. |
DataTransfer Property
public Avalonia.Input.IDataTransfer DataTransfer { get; set; }
DragEffects Property
public Avalonia.Input.DragDropEffects DragEffects { get; set; }
KeyModifiers Property
public Avalonia.Input.KeyModifiers KeyModifiers { get; set; }