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
290
Add new Node to the DataTreeView
posted

Hi,

I'm tring to dynamically add a new node to the data tree. However, when I add the new node in the underlying view model of the view the datatreeview does not display the new node.

Any ideas?

Thanks, Meisam.

Parents
  • 5595
    posted

    Hi,

    What is the type of the collection in your view model?

    In order to be able to reflect the collection modifications in the XamDataTree, your collection needs to support INotifyCollectionChanged, like ObservableCollection<T>.

     

    HTH,

Reply Children
No Data