This project is read-only.

Dynamic nodes in tree view.

Jun 30, 2009 at 8:11 PM

Hi,

Is possible to add dynamic nodes to the tree view after the treeView.ItemsSource was assigned?

 

Thanks.

 

Jul 1, 2009 at 8:05 AM

The collection binded to the ItemsSource property need to implement INotifyCollection (eg ObservableCollection) so when you add an object to the collection a node is automatically created.

Thierry

Jul 2, 2009 at 12:29 AM

Ok, thank a lot.