Export (0) Print
Expand All

StructuredCompositeActivityDesigner.DrawConnectors Method

Draws all of the connectors to display on the StructuredCompositeActivityDesigner.

Namespace:  System.Workflow.ComponentModel.Design
Assembly:  System.Workflow.ComponentModel (in System.Workflow.ComponentModel.dll)

protected void DrawConnectors(
	Graphics graphics,
	Pen pen,
	Point[] points,
	LineAnchor startCap,
	LineAnchor endCap
)

Parameters

graphics
Type: System.Drawing.Graphics

The Graphics on which to draw the connectors.

pen
Type: System.Drawing.Pen

The Pen to draw the connectors.

points
Type: System.Drawing.Point[]

The Point array that contains the endpoints for each of the connectors to draw.

startCap
Type: System.Workflow.ComponentModel.Design.LineAnchor

A LineAnchor that determines the graphic to draw at connector start points.

endCap
Type: System.Workflow.ComponentModel.Design.LineAnchor

A LineAnchor that determines the graphic to draw at connector end points.

Connectors are links between separate designers on a workflow design surface. These links appear as lines on the design surface and each line end connects to a visible point on the designers it connects. These points are called connection points.

.NET Framework

Supported in: 4.5.2, 4.5.1, 4.5, 4, 3.5, 3.0

Windows 8.1, Windows Server 2012 R2, Windows 8, Windows Server 2012, Windows 7, Windows Vista SP2, Windows Server 2008 (Server Core Role not supported), Windows Server 2008 R2 (Server Core Role supported with SP1 or later; Itanium not supported)

The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.

Show:
© 2014 Microsoft