ConnectorConnect Method (IConnectable, String, IConnectable, String, Boolean, 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
Syntaxpublic static void Connect(
IConnectable from,
string fromName,
IConnectable to,
string toName,
bool 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: SystemBoolean
Should the IConnectable objects (Visuals) be aligned based on the connector. - allowMultiple
- Type: SystemBoolean
Should this connection be added to existing connectors or replace all existing connections.
See Also