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

TreeViewAdv selected border

Thread ID:





103907 Jun 7,2012 12:40 PM UTC Jun 11,2012 04:01 AM UTC WinForms 2
Tags: Tools
ian bradley
Asked On June 7, 2012 12:40 PM UTC

With the TreeViewAdv I can set a lot of things but I don't seem to be able to turn off the dotted line that surrounds the selected item. It's really ugly, so I'd like to kill it. Any ideas? 

There is a "KeepDottedSelection" property, which turns it off when the tree is not highlighted, which is basically the exact opposite of the behaviour I want.

This is 9.4.

I might owner draw if that will get me around it.

ian bradley
Replied On June 7, 2012 12:47 PM UTC

Quick update. I've looked at Owner draw. If I owner draw the background, the supplied Bounds are too small and you still get the dotted line.
If I do BeforeNodePaint instead I can overwrite the border, but that's a bit of a pain.

Selva Ganapathy Kathiresan [Syncfusion]
Replied On June 11, 2012 04:01 AM UTC

Hi Ian,


Thank you for your interest in Syncfusion product.


The feature for show or hide focus rectangle for the selected node is implemented in our current version with new property named  "ShowFocusRect". So we recommend you to kindly upgrade to to access the feature.


Please let us know if you have any concerns.




Selva Ganapathy K


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