Lists, Trees, and Grids

So far, you’ve learned a wide range of techniques and tricks for using WPF data binding to display information in the form you need. Along the way, you’ve seen many examples that revolve around the lowly ListBox control.

Thanks to the extensibility provided by styles, data templates, and control templates, even the ListBox (and its similarly equipped sibling, the ComboBox) can serve as a remarkably powerful tool for displaying data in a variety of ways. However, some types of data presentation would be difficult to implement with the ListBox alone. Fortunately, WPF has a few rich data controls that fill in the ...

Get Pro WPF 4.5 in VB: Windows Presentation Foundation in .NET 4.5 now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.