O'Reilly logo

Mastering LOB Development for Silverlight 5: A Case Study in Action by Rocío Serrano, Braulio Díez

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Introducing the ViewModel

Although we will go deeper into patterns in the following chapters, we can complete the theoretical concepts related to data binding by introducing the ViewModel.

In this chapter's introduction, we dealt with two objects that were part of data binding in Silverlight. We will particularly focus on the object which binds View and Model.

Note

ViewModel can be defined as the binding object or communication channel between the interface and the data model.

A ViewModel object shows properties which act as datasource for an interface. When we associate a ViewModel object to an interface, we are indicating the interface where it can pick up the data that its controls are binding. In other words, we are establishing DataContext ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required