Click or drag to resize

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

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: 19.00.00
Syntax
C#
public static void Connect(
	IConnectable from,
	string fromName,
	IConnectable to,
	string toName,
	ConnectorAlignment align,
	bool allowMultiple
)

Parameters

from  IConnectable
From IConnectable (Visual).
fromName  String
From connector name.
to  IConnectable
To IConnectable (Visual).
toName  String
To connector name.
align  ConnectorAlignment
How to align from and to.
allowMultiple  Boolean
Should this connection be added to existing connectors or replace all existing connections.
See Also