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.
Unfortunately, activation email could not send to your email. Please try again.

Disappearance of the focus rectangle....

Thread ID:





39260 Jan 3,2006 12:32 AM Feb 7,2006 01:32 AM Windows Forms 2
Tags: Tools
Asked On January 3, 2006 12:32 AM

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

Deepa TS [Syncfusion]
Replied On January 3, 2006 05:32 AM

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


Administrator [Syncfusion]
Replied On February 7, 2006 01:32 AM

Thanks for the idea deepa!!


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.

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.