DesignerEdges 枚举



此 API 现已过时。

指定活动设计器在工作流设计图面上用于执行设计时处理的一个或多个边缘,如活动设计器上的 Connector 位置。Specifies the edge or edges of an activity designer on a workflow design surface where design-time processing is performed, such as a Connector location on the activity designer.

此枚举有一个 FlagsAttribute 属性,允许按位组合成员值。

public enum class DesignerEdges
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public enum DesignerEdges
type DesignerEdges = 
Public Enum DesignerEdges


All 15

活动设计器的所有边缘。All edges of the activity designer.

Bottom 8

活动设计器的下边缘。The bottom edge of the activity designer.

Left 1

活动设计器的左边缘。The left edge of the activity designer.

None 0

非活动设计器的边缘。None of the edges of the activity designer.

Right 4

活动设计器的右边缘。The right edge of the activity designer.

Top 2

活动设计器的上边缘。The top edge of the activity designer.



本材料讨论的类型和命名空间已废弃不用。This material discusses types and namespaces that are obsolete. 有关详细信息,请参阅 Windows Workflow Foundation 4.5 中弃用的类型For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

ConnectionEdge 中返回的枚举值,它指定 ConnectionPointConnectionPoint 对象的集合在活动设计器上的位置。The enumeration value returned from ConnectionEdge that specifies where on the activity designer a ConnectionPoint or a collection of ConnectionPoint objects reside. 可以使用 GetConnectionPoints 方法来检索此集合。The GetConnectionPoints method can be used to retrieve this collection.

还可以使用该方法通过观察从 DesignerEdges 返回的 SizingEdge 枚举值来确定用户正在调整哪个或哪些活动设计器边缘的大小。You can also use it to determine which edge or edges of an activity designer a user is resizing by observing the DesignerEdges enumeration value returned from SizingEdge.