How To Control the Number Of Connections That Can Be Drawn From / To the Port

18 Nov 20181 minute to read

This can be done using the port’s ConnectionsLimit property. ConnectionsLimit specifies the number of connections to be allowed. Default value is 10.

Syncfusion.Windows.Forms.Diagram.ConnectionPoint cp = new Syncfusion.Windows.Forms.Diagram.ConnectionPoint();

cp.ConnectionsLimit = 12;
Dim cp As New Syncfusion.Windows.Forms.Diagram.ConnectionPoint()

cp.ConnectionsLimit = 12