Summary

WPF (and Silverlight) exposes a new way of displaying the data and behaviors of objects to the UI by using a technology known as data binding. With this technology you can bind complex objects to the UI and specify templates and behaviors in the UI using rules and styles.

In order to make an object bindable to a WPF UI, you need to implement the INotifyPropertyChanged interface, which exposes an event PropertyChanged that is able to inform and update the WPF View when something happen between the View and the object bound to it.

The WPF engine is able to translate a value using different data types based on the value converter applied to the bound object; you can also specify a custom value converter in the binding expression and create ...

Get Applied WPF 4 in Context 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.