TouchHitTestingEventArgs Class

包含 TouchHitTesting 事件返回的参数。

语法


public sealed class TouchHitTestingEventArgs : ICoreWindowEventArgs

特性

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

成员

TouchHitTestingEventArgs类 具有这些类型的成员:

方法

The TouchHitTestingEventArgs 类 具有这些方法。 它还继承方法于Object 类.

方法说明
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.

 

属性

TouchHitTestingEventArgs类 具有这些属性。

属性访问类型说明

BoundingBox

只读Gets the bounding rectangle of the touch contact area.

Handled

读/写Gets or sets a value indicating whether the TouchHitTesting event was handled.

Point

只读Gets the screen coordinates of the touch point reported by the touch digitizer.

ProximityEvaluation

读/写Gets or sets the proximity evaluation score for an object relative to the touch contact area.

 

备注

注意  :此类不敏捷,这意味着您需要考虑其线程模型和封送行为。有关更多信息,请参见线程处理和封送处理 (C++/CX)

要求

最低支持客户端

Windows 8 [仅 Windows 应用商店应用程序]

最低支持服务器

Windows Server 2012 [仅 Windows 应用商店应用程序]

最低支持电话

Windows Phone 8

命名空间

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

元数据

Windows.winmd

 

 

显示:
© 2014 Microsoft