Bagikan melalui


GestureRecognizer.RightTapped Kejadian

Definisi

Terjadi saat input penunjuk ditafsirkan sebagai gerakan ketuk kanan, terlepas dari perangkat input.

Contoh meliputi:

  • Klik tombol kanan mouse atau touchpad
  • Klik tombol barel pena
  • Sentuh atau tekan dan tahan pena

Untuk detail selengkapnya tentang API ini, silakan lihat topik UWP WinRT RightTapped .

// 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) 

Jenis Acara

Berlaku untuk