HitTestLocations 枚举
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
注意
The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*
描述设计器的区域,其中包含传递给 HitTest(Point) 方法的点。
此枚举支持其成员值的按位组合。
public enum class HitTestLocations
[System.Flags]
public enum HitTestLocations
[System.Flags]
[System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")]
public enum HitTestLocations
[<System.Flags>]
type HitTestLocations =
[<System.Flags>]
[<System.Obsolete("The System.Workflow.* types are deprecated. Instead, please use the new types from System.Activities.*")>]
type HitTestLocations =
Public Enum HitTestLocations
- 继承
- 属性
字段
| 名称 | 值 | 说明 |
|---|---|---|
| None | 0 | 指示没有命中设计器的一部分。 |
| Designer | 1 | 指示已命中设计器的任何部分。 |
| ActionArea | 2 | 指示已命中展开按钮包含的区域。 |
| Left | 4 | 指示设计器的左侧已命中。 |
| Top | 8 | 指示已命中设计器的顶部。 |
| Right | 16 | 指示设计器的右部分已命中。 |
| Bottom | 32 | 指示设计器底部已命中。 |
| Connector | 64 | 指示设计器上的连接器已命中。 |
注解
注释
此材料讨论已过时的类型和命名空间。 有关详细信息,请参阅 Windows Workflow Foundation 4.50 中的
HitTestLocations 由 HitTest 方法用来描述由鼠标单击和拖放操作击中设计器的区域。 HitTestLocations用于确定在响应成功命中测试时要执行的操作类型。