PointerEventArgs Class
Definition
Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)
- C#
- VB
- F#
public class PointerEventArgs : RoutedEventArgs
Public Class PointerEventArgs
Inherits RoutedEventArgs
type PointerEventArgs =
class
inherit RoutedEventArgs
end
Constructors
| PointerEventArgs(RoutedEvent, Object, IPointer, Visual, Point, UInt64, PointerPointProperties, KeyModifiers) | Initializes a new instance of the PointerEventArgs class Unstable. |
Properties
| Handled | Gets or sets a value indicating whether the routed event has already been handled. (Inherited from RoutedEventArgs) |
| KeyModifiers | Gets a value that indicates which key modifiers were active at the time that the pointer event was initiated. |
| Pointer | Gets specific pointer generated by input device. |
| Properties | Gets the state the pointer device had when this event occurred. |
| 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) |
| Timestamp | Gets the time when the input occurred. |
Methods
| Equals(Object) | Determines whether the specified object is equal to the current object. (Inherited from Object) |
| Finalize() | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object) |
| GetCurrentPoint(Visual) | Returns the PointerPoint associated with the current event |
| GetHashCode() | Serves as the default hash function. (Inherited from Object) |
| GetIntermediatePoints(Visual) | Returns the PointerPoint associated with the current event |
| GetPosition(Visual) | Gets the pointer position relative to a control. |
| GetType() | Gets the Type of the current instance. (Inherited from Object) |
| MemberwiseClone() | Creates a shallow copy of the current Object. (Inherited from Object) |
| PreventGestureRecognition() | Prevents this event from being handled by other gesture recognizers in the route |
| ToString() | Returns a string that represents the current object. (Inherited from Object) |