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 ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access