Share via


GestureRecognizer.RightTapped Event

Definition

Occurs when the pointer input is interpreted as a right-tap gesture, regardless of input device.

Examples include:

  • Right mouse or touchpad button click
  • Pen barrel button click
  • Touch or pen press and hold

For more details on this API, please see the the UWP WinRT RightTapped topic.

// Register
event_token RightTapped(TypedEventHandler<GestureRecognizer, RightTappedEventArgs const&> const& handler) const;

// Revoke with event_token
void RightTapped(event_token const* cookie) const;

// Revoke with event_revoker
GestureRecognizer::RightTapped_revoker RightTapped(auto_revoke_t, TypedEventHandler<GestureRecognizer, RightTappedEventArgs const&> const& handler) const;
public event TypedEventHandler<GestureRecognizer,RightTappedEventArgs> RightTapped;
function onRightTapped(eventArgs) { /* Your code */ }
gestureRecognizer.addEventListener("righttapped", onRightTapped);
gestureRecognizer.removeEventListener("righttapped", onRightTapped);
- or -
gestureRecognizer.onrighttapped = onRightTapped;
Public Custom Event RightTapped As TypedEventHandler(Of GestureRecognizer, RightTappedEventArgs) 

Event Type

Applies to