Skip to main content

PointerPressedEventArgs Class

Definition

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

public class PointerPressedEventArgs : PointerEventArgs
InheritanceObjectEventArgsRoutedEventArgsPointerEventArgs → PointerPressedEventArgs

Constructors

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

Properties

ClickCount 
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.
(Inherited from PointerEventArgs)
PointerGets specific pointer generated by input device.
(Inherited from PointerEventArgs)
PropertiesReturns the current pointer point properties
(Inherited from PointerEventArgs)
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.
(Inherited from PointerEventArgs)

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
(Inherited from PointerEventArgs)
GetHashCode()Serves as the default hash function.
(Inherited from Object)
GetIntermediatePoints(Visual)Returns the PointerPoint associated with the current event
(Inherited from PointerEventArgs)
GetPosition(Visual)Gets the pointer position relative to a control.
(Inherited from PointerEventArgs)
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
(Inherited from PointerEventArgs)
ToString()Returns a string that represents the current object.
(Inherited from Object)

See Also

Reference

Avalonia.Input Namespace