ActivityDesigner.OnConnected Method (ConnectionPoint, ConnectionPoint)

 

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
)

Parameters

source
Type: System.Workflow.ComponentModel.Design.ConnectionPoint

The source ConnectionPoint on the current activity designer.

target
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.

.NET Framework
Available since 3.0
Return to top
Show: