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 : Nov 16th 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TreeViewAdv

Thread ID:

Created:

Updated:

Platform:

Replies:

7673 Oct 6,2003 10:51 AM UTC Oct 6,2003 06:01 PM UTC WinForms 1
loading
Tags: Tools
Trevor Moody
Asked On October 6, 2003 10:51 AM UTC

Hi, i don;t know if i'm missing the point here but i am having problems programatically creating TreeNodeAdvStyleInfo objects, setting the font / colour diferent on each one, and the assigning them to a programatically created Node. Can some one post a quick sample. thanks Trev

Arun Srinivasan [Syncfusion]
Replied On October 6, 2003 06:01 PM UTC

Hi Trev, Here is a code snippet which should help you out on this issue: //Create TreeNodeAdvStyleInfo TreeNodeAdvStyleInfo si = new TreeNodeAdvStyleInfo(); //Set TreeNodeAdvStyleInfo values si.TextColor = Color.AntiqueWhite; //Set the node style this.treeViewAdv2.BaseStyles["MyBaseStyle"] = si; this.treeViewAdv2.Nodes[0].NodeData.BaseStyle ="MyBaseStyle"; Regards, Arun

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

;