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.
Unfortunately, activation email could not send to your email. Please try again.

TreeViewAdv

Thread ID:

Created:

Updated:

Platform:

Replies:

7673 Oct 6,2003 06:51 AM Oct 6,2003 02:01 PM Windows Forms 1
loading
Tags: Tools
Trevor Moody
Asked On October 6, 2003 06:51 AM

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 02:01 PM

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.

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.

;