ContextRequestedEventArgs Class
Definition
Provides event data for the ContextRequested event.
public class ContextRequestedEventArgs
Constructors
| Name | Description |
|---|---|
| ContextRequestedEventArgs (3 overloads) | Initializes a new instance of the ContextRequestedEventArgs class. |
ContextRequestedEventArgs overloads
ContextRequestedEventArgs Constructor
Initializes a new instance of the ContextRequestedEventArgs class.
public ContextRequestedEventArgs()
ContextRequestedEventArgs Constructor
Initializes a new instance of the ContextRequestedEventArgs class.
public ContextRequestedEventArgs(Avalonia.Input.ContextRequestedEventArgs contextRequestedEventArgs)
Parameters
contextRequestedEventArgs Avalonia.Input.ContextRequestedEventArgs
ContextRequestedEventArgs Constructor
Initializes a new instance of the ContextRequestedEventArgs class.
public ContextRequestedEventArgs(Avalonia.Input.PointerEventArgs pointerEventArgs)
Parameters
pointerEventArgs Avalonia.Input.PointerEventArgs
Methods
| Name | Description |
|---|---|
| TryGetPosition | No summary available. |
TryGetPosition Method
public bool TryGetPosition(Avalonia.Input.InputElement relativeTo, Avalonia.Point& point)
Parameters
relativeTo Avalonia.Input.InputElement
point Avalonia.Point&
Returns
bool
Properties
| Name | Description |
|---|---|
| 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. |