Just as the
ContentControl plays host to a single child control, the
ItemsControl can have many children.
Controls that can contain more than one child usually derive from the
ItemsControl class; these include the
ComboBox control and, most notably, the
ListBox control (see Figure 5.11).
ItemsControl allows you to populate its children either directly in XAML or in code using the
ItemsControl.Items property, or indirectly using a data binding and the
Selector class extends the
ItemsControl to provide the properties and events ...