O'Reilly logo

Pro WPF in C# 2008: Windows Presentation Foundation with .NET 3.5, Second Edition by Matthew MacDonald

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

Data Templates, Data Views, and Data Providers

In Chapter 16, you learned the essentials of WPF data binding—how to pull information out of an object and display it in a window, with little or no code. Along the way, you considered how to make that information editable, how to format it, how to convert it to the representation you need, and how to incorporate more advanced features such as validation. However, you still have more to learn.

In this chapter, you'll continue your exploration by tackling three subjects that will allow you to build better bound windows. First, you'll look at data templates, which let you customize the way each item is shown in an ItemsControl. Data templates are the secret to converting a basic list into a rich data ...

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