HierarchicalDataTemplate Link By Parent
Posted
by Andrew Kalashnikov
on Stack Overflow
See other posts from Stack Overflow
or by Andrew Kalashnikov
Published on 2010-05-31T02:39:40Z
Indexed on
2010/05/31
2:42 UTC
Read the original article
Hit count: 299
Hello colleagues. I want bind my treeview. There are a lot of samples binding treeview by object, which contains children collection. I've got domain having just Parent pointer.
public class Service : BaseDomain
{
public virtual string Name { get; set; }
public virtual string Description { get; set; }
public virtual Service Parent { get; set; }
}
Can I bind collection of this objects to my treeView. Thanks
© Stack Overflow or respective owner