The Model-View-ViewModel Pattern

The Model-View-ViewModel pattern is a design pattern designed for XAML-based platforms and plays to the strengths of Data Binding (i.e. binding UI control properties to objects). In this case, the Model objects are the core objects that are used to represent application data, as well as business logic that is independent of a user interface. The View in our case is a UI control, such as a Window or UserControl, which actually implements the look of a user interface.

It's important to understand that there may be several views for the same data—for example, there might be a summary view that display statistics and an overview of the data, as well as a detail view that displays the details of a currently selected ...

Get Programming Reactive Extensions and LINQ 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.