Skip to main content

OnPointerPressed Method

Invoked when an unhandled PointerPressedEvent reaches an element in its route that is derived from this class. Implement this method to add class handling for this event.

Definition

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

protected virtual void OnPointerPressed(
PointerPressedEventArgs e
)

Parameters

  PointerPressedEventArgs
Data about the event.

See Also

Reference

InputElement Class
Avalonia.Input Namespace