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

how to set each TreeNodeAdv fore color separately

Thread ID:





99194 May 6,2011 04:12 PM UTC May 9,2011 01:38 PM UTC WinForms 1
Tags: Tools
Tomasz (Tomek)Borucki
Asked On May 6, 2011 04:12 PM UTC

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?

Jeraldes J [Syncfusion]
Replied On 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]

[User Guide]

Please let us know if you have any concern.

J Jeraldes


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