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.
Thanks for reply.
I have an observable collection for the list of child node. However, I realised that I forgot to initialised in the collection in the constructor of the object.
I was initialising the collection upon adding a new node, which doesn't seem to work.
Thanks again for your reply.
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,