PhysicalGestureRecognizer.Tapped Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
/// [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