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
close icon

how to set each TreeNodeAdv fore color separately

Hi,
I would like to set each TreeNodeAdv fore color separately. I know that it can be done by handling BeforeNodePaint event, but this method is not good for me. I would like to do it by updating some property, similiar to way it can be done in Windows TreeView control (using TreeNode.ForeColor property). Is that possible using Syncfusion TreeNodeAdv?
thx,Tomek


1 Reply

JJ Jeraldes J Syncfusion Team May 9, 2011 01:38 PM UTC

Hi Tomasz,

Thanks for your interest in Syncfusion Products.

We can set the base style to the nodes that are present in the TreeViewAdv. Please check with the sample for more clarification.

[Sample Link]
http://www.syncfusion.com/uploads/redirect.aspx?file=CS_ad8c5b1.zip&team=development

[User Guide]
http://help.syncfusion.com/ug_91/User%20Interface/Windows%20Forms/Tools/Documents/nodespecificstyle.htm

Please let us know if you have any concern.

Regards,
J Jeraldes


Loader.
Live Chat Icon For mobile
Up arrow icon