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:

Created:

Updated:

Platform:

Replies:

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

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


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]
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


CONFIRMATION

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.

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

;