We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Rectangle/Line Connector selection

I am using version 6.2 of the Diagram control in VB (Windows Forms version).

I would like to turn off the selection box and connector points that appear when I select a rectangle and or line connector in a model within my diagram.

I still want to be able to select the rectangle (which will activate another part of my form), but do not want the connector/central/rotation points to appear.

Thank you


4 Replies

AD Administrator Syncfusion Team June 3, 2008 06:02 AM UTC

Hi Mark ,

Thanks for your interest in Syncfusion products.

If your intention is to hide the selection rectangle of a node and EndPoints of a Connector, then you have to derive the View class and override "DrawHandles" method. Please refer to the attached sample that demonstrates this completely.

http://websamples.syncfusion.com/samples/Diagram.Windows/F74166/main.htm

Please refer to it and let me know if this helps.

Regards,
Nagaraj



MA Mark Attridge June 3, 2008 08:27 PM UTC

Thanks for the sample code, but so far I have not been successful.

I have attached a screen shot of the selection box/points that I would like to remove.

Any further help is appreciated.



untitled3_e011ee4d.zip


J. J.Nagarajan Syncfusion Team June 4, 2008 05:23 AM UTC

Hi Mark ,

Please refer to the attached sample in the previous post. We could not see any selection rectangle around the node/nodes. Please refer to the attached video file.

Video:http://www.syncfusion.com/Product/uploads/Video_9a8d79c0.zip

Sample: http://websamples.syncfusion.com/samples/Diagram.Windows/F74166/main.htm

Could you please check the sample and let me know whether you are able to reproduce the issue in this sample? Please let me know if you are addressing something different.

Thanks,
Nagaraj



MA Mark Attridge June 5, 2008 02:12 PM UTC

I was able to implement this successfully.
Thanks


Loader.
Live Chat Icon For mobile
Up arrow icon