Objective 5.3: Implement data binding

Data binding is a powerful technique that simplifies the process of adding data to the presentation layer of a Windows Store. Traditionally, applications would iterate through a collection of data items and add each item to a control in the UI using code. This meant regular updates to code as requirements of the UI changed or the dataset itself changed. Data binding decouples the data model from the view, enabling updates in the data to appear in the view and vice versa.

WinRT APIs support data binding in common controls through markup extensions in XAML. The connection between a control and its data source is expressed as a declaration in the XAML of the user interface. Data binding enables data from controls ...

Get Exam Ref 70-484: Essentials of Developing Windows Store Apps Using C# now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.