This question is locked. New answers and comments are not allowed.
Hi.
I have class
How can I bind list with this type data to treeView.
I've try this:
But I see only root element.
I have class
public class User{public int Id {get; set;}public string Name{get;set;}public string phone{get;set;}public List<User> userList {get; set;}}I've try this:
<telerik:RadTreeView x:Name="userTree" > <telerik:RadTreeView.ItemTemplate> <telerik:HierarchicalDataTemplate> <TextBlock Text="{Binding Name}"/> </telerik:HierarchicalDataTemplate> </telerik:RadTreeView.ItemTemplate> </telerik:RadTreeView>