WPF Data Binding Engine

Data binding in WPF is always comprises two objects, the binding source and the binding target, where the source represents the object that provides the data and the target represents the UI element or property that expose the data value. Figure 7-1 shows a basic representation of this mechanism.

images

Figure 7-1. WPF data binding mechanism

In Figure 7-1 you can see three major actors involved in the data binding process:

  • The source, which can be any CLR object that implements the INotifyPropertyChanged interface, an interface that uses an event to notify when the value of a property has been changed.
  • The target object and ...

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.