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

The Last Word

In this chapter, you took a closer look at the ItemsControl classes provided by WPF. You started out with the basic ComboBox and ListBox, and then you considered how to use the ListView to create lists with multiple viewing modes and the TreeView to show hierarchical data. Finally, you considered three more specialized list controls: the Menu, ToolBar, and StatusBar.

The most impressive aspect of all these classes is that they derive from a single base class—the ItemsControl—that defines their essential functionality. The fact that all these controls share the same content model, the same data binding ability, and the same styling and templating features is one of WPF's small miracles. Remarkably, the ItemsControl defines all the ...

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