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
370
Binding to XamDataTree?
posted

 

I juts can't get the xamdatatree binding working. I attached a demo program. It is easy to set up the wpf Treeview hierarchy using templates and I am looking someting similar to use in xamdatatree.

 

Thanks

  • 12773
    posted

    Hello,

    I am just checking if you got this worked out or you still require any assistance or clarification on the matter.

    Sincerely,
    Dimi
    Developer Support Engineer
    Infragistics, Inc.

  • 21382
    posted

    You would need to change your collections from ObservableCollection<ItemBase> to ObservableCollectoin<School> and <Subject>

     

    when the datamanager is processing the collections, it asks for the type of objects that are in it from the collection itself.  in your case its seeing ItemBase objects and trying to find a node layout for that.