They should be added to the ViewModel, which will add them to the model (to keep consistency between the model and the ViewModel). In the ViewModel, the collection of child nodes should be an ObservableCollection<T>, so that the UI is notified when a node is added/removed
We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.OkRead more