This documentation is archived and is not being maintained.

ActivityDesigner.OnConnected Method

Notifies the ActivityDesigner when a connection is established between two connection points.

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

protected virtual void OnConnected(
	ConnectionPoint source,
	ConnectionPoint target


Type: System.Workflow.ComponentModel.Design.ConnectionPoint

The source ConnectionPoint on the current activity designer.

Type: System.Workflow.ComponentModel.Design.ConnectionPoint

The target ConnectionPoint on the activity designer to connect to.

OnConnected has no default behavior. You must override this method in a class that derives from ActivityDesigner to provide processing when a connection is made between two designers.

Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003

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

.NET Framework

Supported in: 3.5, 3.0