TouchHitTestingEventArgs class

Applies to Windows and Windows Phone

Contains the arguments returned by the TouchHitTesting event.

Syntax


Public NotInheritable Class TouchHitTestingEventArgs
    Implements 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

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

 

 

Show:
© 2014 Microsoft