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. Image for the cookie policy date
close icon

TreeViewItemAdv binding to another TreeViewItemAdv''s value

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.


























1 Reply

SC Sekar C Syncfusion Team March 11, 2010 06:47 PM UTC

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

Loader.
Live Chat Icon For mobile
Up arrow icon