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

16 Dec 20241 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