Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
405
Databind simple tree with one root node?
posted

I have a viewmodel with ObservableCollection<PersonViewModel> on it.  PersonViewModel.Name is what I want to show.

I want a tree bound and showing  the person names, but I want a root node called "Person Root" (so one collapsible root with names under it)

-Person Root

  +Greg

  +Tom

etc.

Is this possible in xaml with data binding without modifying my viewmodel structure?

Parents Reply Children
No Data