Connector Class

 
Note: This API is now obsolete.

Represents a connector between two activity designers on a workflow design surface.

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

System.Object
  System.Workflow.ComponentModel.Design.Connector

[ObsoleteAttribute("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class Connector : IDisposable

NameDescription
System_CAPS_pubmethodConnector(ConnectionPoint, ConnectionPoint)

Initializes a new instance of the Connector class.

NameDescription
System_CAPS_pubpropertyAccessibilityObject

Gets an AccessibleObject that accessibility applications use to adjust the application UI for users who have impairments.

System_CAPS_pubpropertyBounds

Gets the bounding rectangle for the connector on the workflow design surface.

System_CAPS_pubpropertyConnectorModified

Gets the value that indicates whether the Connector is modified.

System_CAPS_pubpropertyConnectorSegments

Gets a read-only collection of points that contains all segments found in the Connector.

System_CAPS_protpropertyExcludedRoutingRectangles

Returns an empty array of Rectangle object. Derived classes populate this collection.

System_CAPS_pubpropertyParentDesigner

Gets the designer on which the connecter appears on the workflow design surface.

System_CAPS_protpropertyParentView

Gets the workflow view associated with the connector.

System_CAPS_pubpropertySource

Gets or sets the ConnectionPoint where drawing of the Connector begins.

System_CAPS_pubpropertyTarget

Gets or sets the ConnectionPoint where drawing of the Connector ends.

NameDescription
System_CAPS_pubmethodEquals(Object)

Determines whether the current Connector is equal to the specified connector.(Overrides Object.Equals(Object).)

System_CAPS_protmethodFinalize()

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.(Inherited from Object.)

System_CAPS_pubmethodGetHashCode()

Returns the hash code for the current Connector.(Overrides Object.GetHashCode().)

System_CAPS_protmethodGetService(Type)

Returns a service object of the specified type if it is available.

System_CAPS_pubmethodGetType()

Gets the Type of the current instance.(Inherited from Object.)

System_CAPS_pubmethodHitTest(Point)

Returns a value that indicates whether the specified point resides on the current Connector.

System_CAPS_pubmethodInvalidate()

Invalidates the current Connector and causes it to be redrawn.

System_CAPS_protmethodMemberwiseClone()

Creates a shallow copy of the current Object.(Inherited from Object.)

System_CAPS_pubmethodOffset(Size)

Changes the Connector height and width using the settings defined in the specified Size.

System_CAPS_protmethodOnLayout(ActivityDesignerLayoutEventArgs)

Notifies the Connector that layout operations are occurring.

System_CAPS_protmethodOnPaint(ActivityDesignerPaintEventArgs)

Renders the Connector on the workflow design surface.

System_CAPS_protmethodOnPaintEdited(ActivityDesignerPaintEventArgs, Point[], Point[])

Used for drawing the Connector when it is dragged from one state to another.

System_CAPS_protmethodOnPaintSelected(ActivityDesignerPaintEventArgs, Boolean, Point[])

Used for drawing a Connector that is selected by the user.

System_CAPS_protmethodPerformLayout()

Performs layout tasks for the Connector.

System_CAPS_protmethodSetConnectorSegments(ICollection<Point>)

Reroutes the connector from source to target if the connector has changed.

System_CAPS_pubmethodToString()

Returns a string that represents the current object.(Inherited from Object.)

NameDescription
System_CAPS_pubinterfaceSystem_CAPS_privmethodIDisposable.Dispose()

Releases all resources used by the Connector.

System_CAPS_noteNote

This material discusses types and namespaces that are obsolete. For more information, see Deprecated Types in Windows Workflow Foundation 4.5.

A connector is the line that appears on a workflow design surface that connects one activity designer to another. Connector provides methods and properties that allow you to customize how to draw a set of connectors when an activity designer is rendered at design time.

.NET Framework
Available since 3.0

Any public static ( Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

Return to top
Show: