The ItemsControl Class
As you know, the ItemsControl class defines the basic functionality for controls that wrap a list of items. Those items can be entries in a list, nodes in a tree, commands in a menu, buttons in a toolbar, and so on. Figure 18-1 provides an at-a-glance overview of all the ItemsControl classes in WPF.
Classes that derive from ItemsControl
You'll notice that some item wrappers appear in the class hierarchy of classes that derive from ItemsControl. For example, you'll not only see the expected Menu and TreeView classes, but you'll also see MenuItem and TreeViewItem. That's because these classes have the ability to contain ...