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

How to access child TreeViewItemAdv from a TreeViewItemAdv

Thread ID:





89977 Sep 12,2009 05:11 AM UTC Sep 15,2009 02:56 PM UTC WPF 1
Tags: Tools
Asked On September 12, 2009 05:11 AM UTC

I'm trying to create a selection tree. Whenever a button in a parent node is clicked, the children nodes should all be selected.
My problem is i can't find the containers of the children nodes (TreeViewItemAdv collection) from a parent TreeViewItemAdv

I can manually get a container by calling

But there's another problem, if the ParentNode is collapsed, the child containers haven't been instantiated. Setting ParentNode.IsExpanded = true does not synchronously generate the item containers as I expected.

How do I solve this problem?
Thank you

Prabhu P [Syncfusion]
Replied On September 15, 2009 02:56 PM UTC

Hi Jackdoh,

Thank you for your interest in Syncfusion products.

We have a method named as AddNodeToSelectedItems() for selecting one or more nodes from the Treeview children collection. We have created a simple sample with all your requirement. Please find the sample from the link given below.


Hope this sample will meet requirement. Please let us know if you have any other further queries.



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.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

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