Chapter 2. An Introduction to Data Binding

In this chapter, we will cover:

  • Displaying data in Silverlight applications
  • Creating dynamic bindings
  • Binding data to another UI element
  • Binding collections to UI elements
  • Enabling a Silverlight application to automatically update its UI
  • Obtaining data from any UI element it is bound to
  • Using the different modes of data binding to allow persisting data
  • Data binding from Expression Blend 4
  • Using Expression Blend 4 for sample data generation

Introduction

Data binding allows us to build data-driven applications in Silverlight in a much easier and much faster way compared to old-school methods of displaying and editing data. This chapter and the following one take a look at how data binding works. We'll start by looking ...

Get Silverlight 4 Data and Services Cookbook 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.