Chapter 9. Controls, binding, and MVVM

This chapter covers

  • Data and element binding
  • The Model-View-ViewModel pattern
  • Working with controls and lists
  • Creating and using value converters

In previous chapters, you’ve learned how to display information on the screen, how to position it, and how to make it pretty. Those are all important skills to master to be an effective XAML developer or designer. What comes next is adding interaction both with the user and with data.

The first approach that most developers use when confronted with a new UI language or markup is to assign property values from code using simple control.property = value assignments. This is certainly familiar territory, but it doesn’t leverage the power of the platform. ...

Get Windows Store App Development: C# and XAML now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.