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 in a tristate manner

Thread ID:

Created:

Updated:

Platform:

Replies:

39120 Dec 28,2005 01:29 AM Jan 9,2006 07:03 AM Windows Forms 2
loading
Tags: Tools
lance
Asked On December 28, 2005 01:29 AM

Hi All, I have an idea of using treeviewadv in a tristate manner. Could you please tell me whether there is a style that could handle this tri state logic. Thanks in advance. Regards, Lance

Deepa TS [Syncfusion]
Replied On December 28, 2005 05:19 AM

Hi Lance, According to my understanding,I have set different left image associated with each of the 3 states for the TreeNodeAdv. Methods: 1. Create 3 different BaseStyles (one corresponding to each state) using the TreeViewAdv''s BaseStyles Collection Editor dialog. 2. Assign appropriate values to the image indices within the BaseStyles Collection Editor dialog for each of the 3 BaseStyles. 3. Drag-drop an ImageLists to the form. Assign these ImageLists to the TreeViewAdv''s image list properties. 4. Now for each of the desired TreeNodeAdvs apply the desired Style by setting the TreeNodeAdv''s BaseStyle property. The attached illustrates the above. Please take a look at it and let me know if this meets your requirements. Thanks for your interest in Syncfusion products. Regards, Deepa.T.S

BaseStyles.zip

Administrator [Syncfusion]
Replied On January 9, 2006 07:03 AM

Hi Deepa, It helps me to control the images. Thanks. Regards, Lance.

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.

;