Connector Class

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

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

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

public class Connector : IDisposable

The Connector type exposes the following members.

  NameDescription
Public methodConnectorInitializes a new instance of the Connector class.
Top

  NameDescription
Public propertyAccessibilityObjectGets an AccessibleObject that accessibility applications use to adjust the application UI for users who have impairments.
Public propertyBoundsGets the bounding rectangle for the connector on the workflow design surface.
Public propertyConnectorModifiedGets the value that indicates whether the Connector is modified.
Public propertyConnectorSegmentsGets a read-only collection of points that contains all segments found in the Connector.
Protected propertyExcludedRoutingRectanglesReturns an empty array of Rectangle object. Derived classes populate this collection.
Public propertyParentDesignerGets the designer on which the connecter appears on the workflow design surface.
Protected propertyParentViewGets the workflow view associated with the connector.
Public propertySourceGets or sets the ConnectionPoint where drawing of the Connector begins.
Public propertyTargetGets or sets the ConnectionPoint where drawing of the Connector ends.
Top

  NameDescription
Public methodEqualsDetermines whether the current Connector is equal to the specified connector. (Overrides Object.Equals(Object).)
Protected methodFinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public methodGetHashCodeReturns the hash code for the current Connector. (Overrides Object.GetHashCode().)
Protected methodGetServiceReturns a service object of the specified type if it is available.
Public methodGetTypeGets the Type of the current instance. (Inherited from Object.)
Public methodHitTestReturns a value that indicates whether the specified point resides on the current Connector.
Public methodInvalidateInvalidates the current Connector and causes it to be redrawn.
Protected methodMemberwiseCloneCreates a shallow copy of the current Object. (Inherited from Object.)
Public methodOffsetChanges the Connector height and width using the settings defined in the specified Size.
Protected methodOnLayoutNotifies the Connector that layout operations are occurring.
Protected methodOnPaintRenders the Connector on the workflow design surface.
Protected methodOnPaintEditedUsed for drawing the Connector when it is dragged from one state to another.
Protected methodOnPaintSelectedUsed for drawing a Connector that is selected by the user.
Protected methodPerformLayoutPerforms layout tasks for the Connector.
Protected methodSetConnectorSegmentsReroutes the connector from source to target if the connector has changed.
Public methodToStringReturns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Explicit interface implemetationPrivate methodIDisposable.DisposeReleases all resources used by the Connector.
Top

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

Supported in: 4, 3.5, 3.0

Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

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

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft