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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Rectangle/Line Connector selection

Thread ID:





74166 Jun 2,2008 03:01 PM UTC Jun 5,2008 02:12 PM UTC WinForms 4
Tags: Diagram
Mark Attridge
Asked On June 2, 2008 03:01 PM UTC

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

Administrator [Syncfusion]
Replied On 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.


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


Mark Attridge
Replied On 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.


J.Nagarajan [Syncfusion]
Replied On 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.


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.


Mark Attridge
Replied On June 5, 2008 02:12 PM UTC

I was able to implement this successfully.


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon