How To Protect Links From User Selection / Manipulation
You can protect links from user selection / manipulation by making use of the EditStyle class. By setting the Enabled property of the EditStyle class to false, you can disable the selection of a node link.
//Creating Line connector. LineConnector conn = new LineConnector(new PointF(1, 1), new PointF(2, 2)); //Disabling selection of the line connector. conn.EditStyle.Enabled = false;
'Creating Line connector. Dim conn As LineConnector = New LineConnector(New PointF(1, 1), New PointF(2, 2)) 'Disabling selection of the line connector. conn.EditStyle.Enabled = False
Was this page helpful? Yes No
Thank you for your feedback!
Thank you for your feedback and comments. We will rectify this as soon as possible!
An unknown error has occurred. Please try again.
Help us improve this page