Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

TouchHitTestingEventArgs class

Contains the arguments returned by the TouchHitTesting event.

Syntax


public sealed class TouchHitTestingEventArgs : ICoreWindowEventArgs

Attributes

[MarshalingBehavior(Standard)]
[Version(0x06020000)]
[WebHostHidden()]

Members

The TouchHitTestingEventArgs class has these types of members:

Methods

The TouchHitTestingEventArgs class has these methods. It also inherits methods from the Object class.

MethodDescription
EvaluateProximity(Point[]) Returns the rank of a polygon as the probable touch target, compared to all other polygons that intersect the touch contact area, and an adjusted touch point within the polygon.
EvaluateProximity(Rect) Returns a ranking for the rectangle as the probable touch target and an adjusted touch point within the rectangle. The rank is determined through a comparison of targeting heuristics for all rectangles that intersect the touch contact area.

 

Properties

The TouchHitTestingEventArgs class has these properties.

PropertyAccess typeDescription

BoundingBox

Read-onlyGets the bounding rectangle of the touch contact area.

Handled

Read/writeGets or sets a value indicating whether the TouchHitTesting event was handled.

Point

Read-onlyGets the screen coordinates of the touch point reported by the touch digitizer.

ProximityEvaluation

Read/writeGets or sets the proximity evaluation score for an object relative to the touch contact area.

 

Remarks

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).

Requirements (device family)

Device family

Universal

API contract

Windows.Foundation.UniversalApiContract, introduced version 1.0

Namespace

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

Metadata

Windows.Foundation.UniversalApiContract.winmd

Requirements (operating system)

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

Namespace

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

Metadata

Windows.winmd

See also

Object
ICoreWindowEventArgs

 

 

Show:
© 2015 Microsoft