Click or drag to resize

DiagramElementAddSocket Method

To add a connection.

Namespace:  StockSharp.Xaml.Diagram
Assembly:  StockSharp.Xaml.Diagram (in StockSharp.Xaml.Diagram.dll) Version: 4.4.16.0 (4.4.16)
Syntax
C#
protected void AddSocket(
	DiagramSocket socket,
	int index = 2147483647
)

Parameters

socket
Type: StockSharp.Xaml.DiagramDiagramSocket
Connection.
index (Optional)
Type: SystemInt32
Index in sockets list.
See Also