TouchHitTestingEventArgs Class
包含 TouchHitTesting 事件返回的参数。
语法
特性
- 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类 具有以下属性。
| 属性 | 访问类型 | 描述 |
|---|---|---|
| 只读 | Gets the bounding rectangle of the touch contact area. | |
| 读取/写入 | Gets or sets a value indicating whether the TouchHitTesting event was handled. | |
| 只读 | Gets the screen coordinates of the touch point reported by the touch digitizer. | |
| 读取/写入 | 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 |
|
命名空间 |
|
|
元数据 |
|