此主题尚未评级 - 评价此主题

TouchHitTestingEventArgs Class

包含 TouchHitTesting 事件返回的参数。

语法


public sealed class TouchHitTestingEventArgs : Object,
    ICoreWindowEventArgs

特性

MarshalingBehaviorAttribute(Standard)
VersionAttribute(NTDDI_WIN8)
WebHostHiddenAttribute()

成员

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

 

 

本文是否对您有所帮助?
(1500 个剩余字符)
© 2013 Microsoft. 版权所有。