Expand Minimize

GestureRecognizer.Tapped | tapped event

Applies to Windows and Windows Phone

Occurs when the pointer input is interpreted as a tap gesture.

Syntax


function onTapped(eventArgs) { /* Your code */ }
 
// addEventListener syntax
gestureRecognizer.addEventListener("tapped", onTapped);
gestureRecognizer.removeEventListener("tapped", onTapped);
 
- or -

gestureRecognizer.ontapped = onTapped;


Event information

Delegate TypedEventHandler<GestureRecognizer, TappedEventArgs>

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

Windows Phone 8.1 [Windows Phone Silverlight 8.1 and Windows Runtime apps]

Namespace

Windows.UI.Input
Windows::UI::Input [C++]

Metadata

Windows.winmd

See also

GestureRecognizer
TappedEventArgs

 

 

Show:
© 2014 Microsoft