Skip to main content

PointerEventArgs Class

Definition

Namespace: Avalonia.Input
Assembly: Avalonia.Base (in Avalonia.Base.dll)

public class PointerEventArgs : RoutedEventArgs
View Source
InheritanceObjectEventArgsRoutedEventArgs → PointerEventArgs
DerivedAvalonia.Input.PointerDeltaEventArgs
Avalonia.Input.PointerPressedEventArgs
Avalonia.Input.PointerReleasedEventArgs
Avalonia.Input.PointerWheelEventArgs

Constructors

PointerEventArgs(RoutedEvent, Object, IPointer, Visual, Point, UInt64, PointerPointProperties, KeyModifiers)Initializes a new instance of the PointerEventArgs class
Unstable.

Properties

HandledGets or sets a value indicating whether the routed event has already been handled.
(Inherited from RoutedEventArgs)
KeyModifiersGets a value that indicates which key modifiers were active at the time that the pointer event was initiated.
PointerGets specific pointer generated by input device.
PropertiesReturns the current pointer point properties
RouteGets or sets the routing strategy (direct, bubbling, or tunneling) of the routed event.
(Inherited from RoutedEventArgs)
RoutedEventGets or sets the routed event associated with these event args.
(Inherited from RoutedEventArgs)
SourceGets or sets the source object that raised the routed event.
(Inherited from RoutedEventArgs)
TimestampGets 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)

See Also

Reference

Avalonia.Input Namespace