O'Reilly logo

XAML Unleashed by Adam Nathan

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

ComboBox

The 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>

Image

FIGURE 10.4 The ComboBox fits the selection of an item into a small space.

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 ...

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