Click or drag to resize

ConnectorConnect Method (IConnectable, String, IConnectable, String, ConnectorAlignment, Boolean)

Connect two named connectors together with parameters determining whether and how the connectables (Visuals) should move when aligned.

Namespace:  Demo3D.Visuals
Assembly:  Demo3D.Core (in Demo3D.Core.dll) Version: 15.0.2.11458
Syntax
C#
public static void Connect(
	IConnectable from,
	string fromName,
	IConnectable to,
	string toName,
	ConnectorAlignment align,
	bool allowMultiple
)

Parameters

from
Type: IConnectable
From IConnectable (Visual).
fromName
Type: SystemString
From connector name.
to
Type: IConnectable
To IConnectable (Visual).
toName
Type: SystemString
To connector name.
align
Type: Demo3D.VisualsConnectorAlignment
How to align from and to.
allowMultiple
Type: SystemBoolean
Should this connection be added to existing connectors or replace all existing connections.
See Also