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 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.