Hey, I need to expand all the nodes of the tree to it's latest "child" when it finishes loading, how can i do that? any help would be appreciated. I'm loading it in code behind with a C# recursive function, not in xaml template.
regards,
Paul.
One way is to define a style for the XamWebTreeItem and set the IsExpanded property to True;<ig:XamWebTree> <ig:XamWebTree.ItemContainerStyle> <Style TargetType="ig:XamWebTreeItem"> <Setter Property="IsExpanded" Value="True"/> </Style> </ig:XamWebTree.ItemContainerStyle> </ig:XamWebTree>
Hey, I used this in loading :
if (node.HasChildren) node.IsExpanded = true;
Thanks