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.

How to "expand all" Nodes in a TreeViewAdv

Thread ID:

Created:

Updated:

Platform:

Replies:

120878 Oct 23,2015 09:45 PM Oct 26,2015 05:52 AM WPF 2
loading
Tags: TreeViewAdv
Sigrist
Asked On October 23, 2015 09:45 PM

How do I expand all Nodes in a Treeview - can't find any solution / documentation to this.

Thank you in advance.

Regards - Dom


Sigrist
Replied On October 23, 2015 09:55 PM

With XAML:

<syncfusion:TreeViewAdv.Resources>
                <Style TargetType="syncfusion:TreeViewItemAdv">
                    <Setter Property="IsExpanded" Value="True"/>
                </Style>
</syncfusion:TreeViewAdv.Resources>

by code (as a event):

?


Rajkumar Ganesamoorthy [Syncfusion]
Replied On October 26, 2015 05:52 AM

Hi Sigrist,
Thank you for contacting Syncfusion Support.
We have prepared  a sample to show demo on “How to expand TreeViewItemAdv in code behind?”.
Please find the sample from the below link.
Link:TreeViewSample

Please let us know if you have any concern on this.
Regards,
Rajkumar G

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.

;