Dynamic nodes in tree view.

Jun 30, 2009 at 7:11 PM

Hi,

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

 

Thanks.

 

Coordinator
Jul 1, 2009 at 7: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 1, 2009 at 11:29 PM

Ok, thank a lot.