FreeformActivityDesigner.CanConnectContainedDesigners Method

Definition

Returns a value that indicates whether the FreeformActivityDesigner can create a connection between the specified connection point on a source child activity designer and the specified connection point on a target child activity designer.

protected public:
 virtual bool CanConnectContainedDesigners(System::Workflow::ComponentModel::Design::ConnectionPoint ^ source, System::Workflow::ComponentModel::Design::ConnectionPoint ^ target);
protected internal virtual bool CanConnectContainedDesigners (System.Workflow.ComponentModel.Design.ConnectionPoint source, System.Workflow.ComponentModel.Design.ConnectionPoint target);
abstract member CanConnectContainedDesigners : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> bool
override this.CanConnectContainedDesigners : System.Workflow.ComponentModel.Design.ConnectionPoint * System.Workflow.ComponentModel.Design.ConnectionPoint -> bool
Protected Friend Overridable Function CanConnectContainedDesigners (source As ConnectionPoint, target As ConnectionPoint) As Boolean

Parameters

source
ConnectionPoint

The ConnectionPoint to check on the source activity designer.

target
ConnectionPoint

The ConnectionPoint to check on the target activity designer.

Returns

true if the FreeformActivityDesigner can draw a connector between source and target activity designers; otherwise, false.

Applies to