This is another in my post series on WinRT programming for C# developers. For review, I’m blogging my notes on running and modifying each of the samples from this page: http://code.msdn.microsoft.com/windowsapps/Windows-8-Modern-Style-App-Samples
The next sample provides an overview of WinRT data binding. This sample actually has seven different scenarios; it's one of the biggest samples so far.
However, I'm only going to briefly cover this sample. TLDR Version: If you've used DataBinding in WPF or Silverlight, it is very familiar.
For those interested in more:
You can support one way, two way, and one time bindings:
You can create Converters similar to WPF or Silverlight:
Other scenarios in this sample show how to respond to data source changes (It looks like INotifyPropertyChanged), bind to elements in a collection (just like in WPF or Silverlight) , bind to color properties (just like WPF and Silverlight), modify collections (like WPF and Silverlight), and navigate collections (like in WPF or Silverlight).
In short, it's really familiar code, if you've done anything with WPF or Silverlight.
All of these projects are Open Source (using the Creative Commons license for content, and the MIT license for code). If you would like to contribute, visit our GitHub Repository. Or, if you have questions, comments, or ideas for improvement, please create an issue for us.