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

Get WPF in Action with Visual Studio 2008 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.