GestureRecognizer.Tapped GestureRecognizer.Tapped GestureRecognizer.Tapped GestureRecognizer.Tapped GestureRecognizer.Tapped Event

Definition

Occurs when the pointer input is interpreted as a tap gesture.

public : event TypedEventHandler Tapped<GestureRecognizer, TappedEventArgs>
// Register
event_token Tapped(TypedEventHandler<GestureRecognizer, TappedEventArgs> const& handler) const;

// Revoke with event_token
void Tapped(event_token const& cookie) const;

// Revoke with event_revoker
Tapped_revoker Tapped(auto_revoker_t, TypedEventHandler<GestureRecognizer, TappedEventArgs> const& handler) const;
public event TypedEventHandler Tapped<GestureRecognizer, TappedEventArgs>
Public Event TypedEventHandler Tapped(Of GestureRecognizer, TappedEventArgs)
function onTapped(eventArgs){/* Your code */}


gestureRecognizer.addEventListener("tapped", onTapped);
gestureRecognizer.removeEventListener("tapped", onTapped);

See Also