Iris Classon
Iris Classon - In Love with Code

Simple example (downloadable): adding data (WinRT / Metro App) using data bindning in XAML

Right! I just joined up on MSDN and noticed a question where other developers were asking for a super simple , ie. strawman example, example of how to add data in a Metro App.I actually also had some minor issues with this a few weeks ago, after spending some time with Web apps it’s surprising how fast you forget your data-binding skills in WPF. I also happen to know that IObservableCollection didn’t exist in an earlier Windows 8 version, so if you google adding data you will get some really weird results. Anyways, the question on MSDN asked for a simple example, so I took the time earlier today to create one, hoping to help others as I sure have gotten a lot of help myself from forums such as MSDN and Stackoverflow. As always, please let me know if you have a better way, or if you can make my code sweeter ;)

You can download the example here, and use it as you please

Example with Usercontrol Does the exact same thing, and looks the same.
 

Simple example (downloadable): adding data (WinRT / Metro App) using data bindning in XAML


Last modified on 2012-06-30

comments powered by Disqus