Data Binding

After identifying the data source, you need to establish a link between the business logic and the application UI. In simpler terms, this means creating a link between the data in the data source and your UI elements. Data binding is the process of establishing this link.

Not only are several different kinds of data binding available, but you can also accomplish data binding in different ways.

Four major components are involved in data binding:

  • binding target object

  • target property

  • binding source

  • path

The binding target object is the object to which you want to bind some data. It’s typically a UI element such as TextBox, ListBox, or DataGrid.

The target property may display and enable changes to the data. The target property can be any dependency ...

Get XAML Developer Reference 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.