Skip to main content

TappedEventArgs Class

Definition

Namespace:Avalonia.Input
Assembly:Avalonia.Base
Package:Avalonia
public class TappedEventArgs

Inheritance: EventArgs -> RoutedEventArgs -> TappedEventArgs

Constructors

NameDescription
TappedEventArgsNo summary available.

TappedEventArgs Constructor

public TappedEventArgs(Avalonia.Interactivity.RoutedEvent routedEvent, Avalonia.Input.PointerEventArgs lastPointerEventArgs)

Parameters

routedEvent Avalonia.Interactivity.RoutedEvent

lastPointerEventArgs Avalonia.Input.PointerEventArgs

Methods

NameDescription
GetPositionNo summary available.

GetPosition Method

public Avalonia.Point GetPosition(Avalonia.Visual relativeTo)

Parameters

relativeTo Avalonia.Visual

Returns

Avalonia.Point

Properties

NameDescription
KeyModifiersNo summary available.
PointerNo summary available.
TimestampNo summary available.
HandledGets or sets a value indicating whether the routed event has already been handled. Inherited from RoutedEventArgs.
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.

KeyModifiers Property

public Avalonia.Input.KeyModifiers KeyModifiers { get; set; }

Pointer Property

public Avalonia.Input.IPointer Pointer { get; set; }

Timestamp Property

public ulong Timestamp { get; set; }