EN
Este conteúdo não está disponível em seu idioma, mas aqui está a versão em inglês.

GestureRecognizer.Tapped | tapped event

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 (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

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

 

 

Mostrar:
© 2015 Microsoft