AD
Administrator
Syncfusion Team
February 24, 2005 05:06 PM UTC
Hi Derek,
To disable the focus rectangle, please do the following:
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;
}
Hope this helps.
Regards,
Gregory Austin
Syncfusion Inc.