Edit

Share via


ActivityDesigner.OnConnected(ConnectionPoint, ConnectionPoint) Method

Definition

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

protected:
 virtual void OnConnected(System::Workflow::ComponentModel::Design::ConnectionPoint ^ source, System::Workflow::ComponentModel::Design::ConnectionPoint ^ target);
protected virtual void OnConnected (System.Workflow.ComponentModel.Design.ConnectionPoint source, System.Workflow.ComponentModel.Design.ConnectionPoint target);
abstract member OnConnected : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> unit
override this.OnConnected : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> unit
Protected Overridable Sub OnConnected (source As ConnectionPoint, target As ConnectionPoint)

Parameters

source
ConnectionPoint

The source ConnectionPoint on the current activity designer.

target
ConnectionPoint

The target ConnectionPoint on the activity designer to connect to.

Remarks

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.

Applies to