O'Reilly logo

WPF in Action with Visual Studio 2008 by Maxx Daymon, Arlen Feldman

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 12. Advanced data templates and binding

This chapter covers:

  • Data templates
  • StringFormat
  • Sorting and filtering data
  • Validating data
  • Model-View-ViewModel
  • Hierarchical, multiple, and priority binding
  • Making your computer sound like Tinky Winky

The idea of data binding has been around in one form or another for a long time. Arguably, the WPF model is better in many respects, but something that really makes WPF binding shine (sometimes literally) is the ability to create complex templates that control the way data is displayed, based on that data, via data templates. There were some simple examples in the previous chapter, but we’re going to get a lot fancier (figure 12.1).

Figure 12.1. The Process Monitor application from the last chapter, ...

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