Regardless of what element you are binding and the nature of your data source, each binding always follows the model illustrated by the following figure:
Basic data binding diagram
As illustrated by the above figure, data binding is essentially the bridge between your binding target and your binding source. The figure demonstrates the following fundamental WPF data binding concepts:
Typically, each binding has these four components: a binding target object, a target property, a binding source, and a path to the value in the binding source to
This section contains the following subsections.
* Direction of the Data Flow
* What Triggers Source Updates
Regardless of what element you are binding and the nature of your data source, each binding always follows the model illustrated by the following figure:
Basic data binding diagram
As illustrated by the above figure, data binding is essentially the bridge between your binding target and your binding source. The figure demonstrates the following fundamental WPF data binding concepts:
*
Typically, each binding has these four
Windows Presentation Foundation (WPF) data binding provides a simple and consistent way for applications to present and interact with data. Elements can be bound to data from a variety of data sources in the form of common language runtime (CLR) objects and XML. ContentControls such as Button and ItemsControls such as ListBox and ListView have built-in functionality to enable flexible styling of single data items or collections of data items. Sort, filter, and group views can be generated on top of the data.
The data binding functionality in WPF has