HitTestLocations 枚举

定义

注意

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
继承
HitTestLocations
属性

字段

名称 说明
None 0

指示没有命中设计器的一部分。

Designer 1

指示已命中设计器的任何部分。

ActionArea 2

指示已命中展开按钮包含的区域。

Left 4

指示设计器的左侧已命中。

Top 8

指示已命中设计器的顶部。

Right 16

指示设计器的右部分已命中。

Bottom 32

指示设计器底部已命中。

Connector 64

指示设计器上的连接器已命中。

注解

注释

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

HitTestLocationsHitTest 方法用来描述由鼠标单击和拖放操作击中设计器的区域。 HitTestLocations用于确定在响应成功命中测试时要执行的操作类型。

适用于