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

Disappearance of the focus rectangle....

Hi forum, Tell me the way for the disappearance of the focus rectangle if the focus is lost in the node. Thanks. Regards, Kevin

2 Replies

DT Deepa TS Syncfusion Team January 3, 2006 10:32 AM UTC

Hi Kevin, You could do so by using the following steps: 1. Set the TreeViewAdv''s OwnerDrawNodes property to true. this.treeViewAdv1.OwnerDrawNodes = true; 2. Handle the TreeViewAdv''s BeforeNodePaint event as shown below : private void treeViewAdv1_BeforeNodePaint(object sender, Syncfusion.Windows.Forms.Tools.TreeNodeAdvPaintEventArgs e) { e.Active = false; } Please take a look at the attached sample and let me know if this meets your requirement. Thanks for your patience and interest in Syncfusion products Regards, Deepa.T.S

FocusRect.zip


AD Administrator Syncfusion Team February 7, 2006 06:32 AM UTC

Thanks for the idea deepa!!

Loader.
Live Chat Icon For mobile
Up arrow icon