Connector Connector Connector Connector Class

Definition

Warning

This API is now obsolete.

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

public ref class Connector : IDisposable
[System.Obsolete("The System.Workflow.* types are deprecated.  Instead, please use the new types from System.Activities.*")]
public class Connector : IDisposable
type Connector = class
    interface IDisposable
Public Class Connector
Implements IDisposable
Inheritance
ConnectorConnectorConnectorConnector
Attributes
Implements

Remarks

Note

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.

Constructors

Connector(ConnectionPoint, ConnectionPoint) Connector(ConnectionPoint, ConnectionPoint) Connector(ConnectionPoint, ConnectionPoint) Connector(ConnectionPoint, ConnectionPoint)

Initializes a new instance of the Connector class.

Properties

AccessibilityObject AccessibilityObject AccessibilityObject AccessibilityObject

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

Bounds Bounds Bounds Bounds

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

ConnectorModified ConnectorModified ConnectorModified ConnectorModified

Gets the value that indicates whether the Connector is modified.

ConnectorSegments ConnectorSegments ConnectorSegments ConnectorSegments

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

ExcludedRoutingRectangles ExcludedRoutingRectangles ExcludedRoutingRectangles ExcludedRoutingRectangles

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

ParentDesigner ParentDesigner ParentDesigner ParentDesigner

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

ParentView ParentView ParentView ParentView

Gets the workflow view associated with the connector.

Source Source Source Source

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

Target Target Target Target

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

Methods

Equals(Object) Equals(Object) Equals(Object) Equals(Object)

Determines whether the current Connector is equal to the specified connector.

GetHashCode() GetHashCode() GetHashCode() GetHashCode()

Returns the hash code for the current Connector.

GetService(Type) GetService(Type) GetService(Type) GetService(Type)

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

GetType() GetType() GetType() GetType()

Gets the Type of the current instance.

(Inherited from Object)
HitTest(Point) HitTest(Point) HitTest(Point) HitTest(Point)

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

Invalidate() Invalidate() Invalidate() Invalidate()

Invalidates the current Connector and causes it to be redrawn.

MemberwiseClone() MemberwiseClone() MemberwiseClone() MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
Offset(Size) Offset(Size) Offset(Size) Offset(Size)

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

OnLayout(ActivityDesignerLayoutEventArgs) OnLayout(ActivityDesignerLayoutEventArgs) OnLayout(ActivityDesignerLayoutEventArgs) OnLayout(ActivityDesignerLayoutEventArgs)

Notifies the Connector that layout operations are occurring.

OnPaint(ActivityDesignerPaintEventArgs) OnPaint(ActivityDesignerPaintEventArgs) OnPaint(ActivityDesignerPaintEventArgs) OnPaint(ActivityDesignerPaintEventArgs)

Renders the Connector on the workflow design surface.

OnPaintEdited(ActivityDesignerPaintEventArgs, Point[], Point[]) OnPaintEdited(ActivityDesignerPaintEventArgs, Point[], Point[]) OnPaintEdited(ActivityDesignerPaintEventArgs, Point[], Point[]) OnPaintEdited(ActivityDesignerPaintEventArgs, Point[], Point[])

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

OnPaintSelected(ActivityDesignerPaintEventArgs, Boolean, Point[]) OnPaintSelected(ActivityDesignerPaintEventArgs, Boolean, Point[]) OnPaintSelected(ActivityDesignerPaintEventArgs, Boolean, Point[]) OnPaintSelected(ActivityDesignerPaintEventArgs, Boolean, Point[])

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

PerformLayout() PerformLayout() PerformLayout() PerformLayout()

Performs layout tasks for the Connector.

SetConnectorSegments(ICollection<Point>) SetConnectorSegments(ICollection<Point>) SetConnectorSegments(ICollection<Point>) SetConnectorSegments(ICollection<Point>)

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

ToString() ToString() ToString() ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose() IDisposable.Dispose()

Releases all resources used by the Connector.

Applies to