Data Binding

Summary

Windows Presentation Foundation provides many ways to bind user interface elements to various data sources. This Drill shows how to access properties of custom objects and collections using direct binding, how to use DataTemplate objects, and the IValueConverter and IMultiValueConverter interfaces. It also shows how to create a master/detail window that displays ADO.NET data.

Audience

This Drill is for developers who want to gain knowledge in techniques to bind user interface elements to various data sources in WPF.

What you'll learn

You will learn how to access properties of custom objects and collections using direct binding, how to use DataTemplate objects, and how to use the IValueConverter and IMultiValueConverter interfaces. You’ll also learn how to create a master/detail window that displays ADO.NET data.

What you need to know

We assume that you’re already familiar with the concepts of programming and you’ve some experience of Visual Studio 2005. You’ll also need to be comfortable with Visual C# syntax, and have a basic understanding of XML and ADO.NET.