Hi,
I am new to wpf and mvvm. Actually i am working on a project in which i need to bind the xml file to treeview control in a dynamic way i have found in static way but i need to do it in dynamic way so please help me out .
Requirements: If i add the elements at runtime to xml file treeview should automatically gets updated .
Thanks
Karthi
Dynamic Binding in TreeView with XML file
1 Answer
Know the answer? Post it. Somebody with the same question will find it here.

Jaganathan BantheswaranRank #170 · 14.1K reputationPosted Feb 25, 2011, 9:07 AM EST
While adding the element to the XML file just assign that value to the property which is binded with the treeview.
Thats it.