Data, Binding, and Pages
In this chapter, I show you how to define and use the data that forms the core of a Windows app. To do this, I will be loosely following the view model pattern, which allows me to cleanly separate the data from the parts of the app responsible for displaying that data and handling user interactions.
You may already be familiar with view models from design patterns such as Model-View-Controller (MVC) and Model-View-View Controller (MVVC). I am not going to get into the details of these patterns in this book. There is a lot of good information about MVC and MVVC available, starting with Wikipedia, which has some ...