HitTestInfo 类

定义

注意

The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*

包含有关 ActivityDesigner 指定坐标部分的信息。

public ref class HitTestInfo
public class HitTestInfo
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class HitTestInfo
type HitTestInfo = class
[<System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")>]
type HitTestInfo = class
Public Class HitTestInfo
继承
HitTestInfo
派生
属性

注解

注释

此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的 Deprecated Types。

HitTestInfo类与方法HitTest结合使用ActivityDesigner,用于确定用户单击的哪个部分ActivityDesigner。 该 HitTestInfo 类包含单击的位置和关联的设计器。

构造函数

名称 说明
HitTestInfo(ActivityDesigner, HitTestLocations)
已过时.

初始化对象的实例 HitTestInfo

属性

名称 说明
AssociatedDesigner
已过时.

获取与ActivityDesignerHitTestInfo类关联的值。

Bounds
已过时.

返回区域命中边界。

HitLocation
已过时.

包含有关命中发生位置的信息。

Nowhere
已过时.

获取一个空 HitTestInfo

SelectableObject
已过时.

获取与命中区域关联的可选对象。

UserData
已过时.

获取与 . HitTestInfo. 关联的用户数据。

方法

名称 说明
Equals(Object)
已过时.

确定指定的对象是否等于当前对象。

(继承自 Object)
GetHashCode()
已过时.

用作默认哈希函数。

(继承自 Object)
GetType()
已过时.

获取当前实例的 Type

(继承自 Object)
MapToIndex()
已过时.

返回命中设计器的索引。

MemberwiseClone()
已过时.

创建当前 Object的浅表副本。

(继承自 Object)
ToString()
已过时.

返回一个表示当前对象的字符串。

(继承自 Object)

适用于