how to invisible selection mark in lineconnector?

Hi,

I'm using diagram control in our project. and I want to invisible selection mark in lineconnector. Is it possible?


Line_f3c83083.zip

1 Reply

AA Amsath Ali M Syncfusion Team February 17, 2014 04:35 AM UTC

Hi Jinhong,

 

Thanks for your interest in Syncfusion products.

 

We suggest you to set the Node.EditStyle’s ‘DefaultHandleEditMode’ property to ‘None’ to disable the selection handle of a node. Please refer the below code snippet.

 

Here is the code:

[C#]

LineConnector lcon = new LineConnector(new PointF(100,100), new PointF(300,100));

            //Disables the selection handler of line connector

            lcon.EditStyle.DefaultHandleEditMode = HandleEditMode.None;

            diagram1.Model.AppendChild(lcon);

 

Please let us know if you have any queries.

 

Regards,

Amsath


Loader.
Up arrow icon