CHAPTER 2

Image

Data Binding

Data binding is often thought of as an advanced topic, but there really is no reason for that. Data binding is

  • Critical to writing XAML applications
  • Not very difficult to learn
  • A very powerful technique

The basic idea behind data binding couldn’t be simpler: you are going to provide values to UIElements based on the values of objects or of other UIElements.

Image Note  UIElement is a base class for most of the objects that have a visual appearance and can process input in Windows 8 applications.

Binding to Objects

Let’s ...

Get Windows 8 XAML Primer 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.