ComboBox control, shown in Figure 10.4 from the following XAML, enables users to select one item from a list:
<ComboBox> <ComboBoxItem>Small</ComboBoxItem> <ComboBoxItem>Medium</ComboBoxItem> <ComboBoxItem>Large</ComboBoxItem></ComboBox>
ComboBox is a popular control because it doesn’t occupy much space. It displays the current selection in a selection box, with the rest of the list shown on demand in a drop-down. The drop-down can be opened and closed by tapping the control or by pressing Alt+up arrow, Alt+down arrow, or ...