TappedEventArgs class

Applies to Windows and Windows Phone

Contains event data for the Tapped event.

Syntax


public ref class TappedEventArgs sealed 

Attributes

[MarshalingBehavior(None)]
[Version(0x06020000)]

Members

The TappedEventArgs class has these types of members:

Methods

The TappedEventArgs class inherits methods from the Object class (C#/VB/C++).

Properties

The TappedEventArgs class has these properties.

PropertyAccess typeDescription

PointerDeviceType

Read-onlyGets the device type of the input source.

Position

Read-onlyGets the location of the touch, mouse, or pen/stylus contact.

TapCount

Read-onlyGets the number of times the tap interaction was detected.

 

Remarks

JavaScript: This object is accessed in a Tapped event handler.

Note  : This class is not agile, which means that you need to consider its threading model and marshaling behavior. For more info, see Threading and Marshaling (C++/CX) and Using Windows Runtime objects in a multithreaded environment (.NET).

Requirements

Minimum supported client

Windows 8 [Windows Store apps only]

Minimum supported server

Windows Server 2012 [Windows Store apps only]

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

Reference
Windows.UI.Input Classes
Windows.Devices.Input
Windows.UI.Core
Windows.UI.Input
Windows.UI.Input.Inking
Windows.UI.Xaml.Input
TypedEventHandler
Conceptual
Responding to user interaction
Guidelines for common user interactions
Developing Windows Store apps (JavaScript and HTML)
Using the Windows Runtime in JavaScript
Touch interaction design
Samples (DOM)
HTML scrolling, panning and zooming sample
Input: DOM pointer event handling sample
Input: Instantiable gestures sample
Samples (Windows Store app APIs)
Input: Device capabilities sample
Input: Ink sample
Input: Manipulations and gestures (JavaScript) sample
Input: Simplified ink sample
Input: Windows 8 gestures sample
Input: XAML user input events sample
XAML scrolling, panning, and zooming sample
Samples (DirectX)
DirectX touch input sample
Input: Manipulations and gestures (C++) sample
Input: Touch hit testing sample
Samples (Win32/Desktop)
Input source identification sample
Touch injection sample
Win32 touch hit-testing sample

 

 

Show:
© 2014 Microsoft