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.

TreeViewItemAdv binding to another TreeViewItemAdv''s value

Thread ID:

Created:

Updated:

Platform:

Replies:

93313 Mar 9,2010 10:36 AM Mar 11,2010 01:47 PM WPF 1
loading
Tags: Tools
Martin Olausson
Asked On March 9, 2010 10:36 AM

I have a TreeViewAdv control which has custom cell templates defined for each of the columns.

The first columns has some text along with images. The rest of the columns have checkboxes. Both the text for the first column and the bool values for the checkboxes come from the bound data.

I want to be able to show/hide the images in the first column when the corresponding checkboxes are checked or unchecked.


I have tried the following but did not succeed.


























Sekar C [Syncfusion]
Replied On March 11, 2010 01:47 PM

Hi,

Thanks for choosing Syncfusion Products.

Hope the below code resolves your problem.

ItemsSource="{Binding Nodes}"
DataType="{x:Type local:HierarchyNode}">

Checked="TreeItemCheckBox_Checked" Unchecked="TreeItemCheckBox_Unchecked">







Please let me know if you have any queries.

Regards,
Sekar C

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.

;