Partager via


PhysicalGestureRecognizer.Tapped Event

Definition

/// [Windows.Foundation.Metadata.Experimental]
/// [add: Windows.Foundation.Metadata.Experimental]
/// [remove: Windows.Foundation.Metadata.Experimental]
// Register
event_token Tapped(TypedEventHandler<PhysicalGestureRecognizer, TappedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
PhysicalGestureRecognizer::Tapped_revoker Tapped(auto_revoke_t, TypedEventHandler<PhysicalGestureRecognizer, TappedEventArgs const&> const& handler) const;
[Windows.Foundation.Metadata.Experimental]
[add: Windows.Foundation.Metadata.Experimental]
[remove: Windows.Foundation.Metadata.Experimental]
public event TypedEventHandler<PhysicalGestureRecognizer,TappedEventArgs> Tapped;
function onTapped(eventArgs) { /* Your code */ }
physicalGestureRecognizer.addEventListener("tapped", onTapped);
physicalGestureRecognizer.removeEventListener("tapped", onTapped);
- or -
physicalGestureRecognizer.ontapped = onTapped;
Public Custom Event Tapped As TypedEventHandler(Of PhysicalGestureRecognizer, TappedEventArgs) 

Event Type

Attributes

Applies to