This project is read-only.

XmlDataProvider 2-way binding

Jan 24, 2014 at 8:09 AM
I've written an app that populates a listbox from a xmlDocument and binds the listbox to several TextBlocks. All works fine. BUT, I've tried to follow this article:

so that when the Listbox changes a click on a button updates the source xmlDocument.

This article seems to use a WPF Window approach that doesn't work with M:ui pages.

Is it possible to get the source xmldocument updated from the Listview contents? Any references would be warmly received.
Jan 26, 2014 at 8:21 AM
I've found my problem: lack of understanding of what "DataContext" means. Since I read a bit more on the topic I've now corrected my code and all works fine. Sorry for posting this discussion Document.