O'Reilly logo

Silverlight 4 Data and Services Cookbook by Kevin Dockx, Gill Cleeren

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required