How to "expand all" Nodes in a TreeViewAdv

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

Thank you in advance.

Regards - Dom


2 Replies

SI Sigrist October 24, 2015 01:55 AM UTC

With XAML:

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

by code (as a event):

?



RG Rajkumar Ganesamoorthy Syncfusion Team October 26, 2015 09:52 AM UTC

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

Loader.
Up arrow icon