GestureRecognizer.RightTapped GestureRecognizer.RightTapped GestureRecognizer.RightTapped GestureRecognizer.RightTapped GestureRecognizer.RightTapped Event

Definition

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

  • Right mouse button click
  • Pen barrel button click
  • Touch or pen press and hold
public : event TypedEventHandler<GestureRecognizer, RightTappedEventArgs> RightTapped
// Register
event_token RightTapped(TypedEventHandler<GestureRecognizer, RightTappedEventArgs> const& handler) const;

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

// Revoke with event_revoker
RightTapped_revoker RightTapped(auto_revoke_t, TypedEventHandler<GestureRecognizer, RightTappedEventArgs> const& handler) const;
public event TypedEventHandler<GestureRecognizer, RightTappedEventArgs> RightTapped
Public Event RightTapped As TypedEventHandler (Of GestureRecognizer, RightTappedEventArgs)
function onRightTapped(eventArgs){/* Your code */}


gestureRecognizer.addEventListener("rightTapped", onRightTapped);
gestureRecognizer.removeEventListener("rightTapped", onRightTapped);

Remarks

Listen for this event when you want to display a context menu.