Language: HTML | XAML

Adding combo boxes and list boxes (XAML)

Applies to Windows and Windows Phone

Use a ComboBox or ListBox control to let users select from a pre-defined list of options presented like a text control. Users can select one or more options from a set of items with text labels.

Use a ComboBox when you need to conserve on-screen space and when users select only one option at a time. A ComboBox shows only the currently selected item. Users must tap on the control to see other selectable items.

Closed and open combo box

Use a ListBox when you want the options to be visible all the time or when users can select more than one option at a time. ListBox controls are "always open", which allows several items to be displayed to the user while at rest.

List box selection

Related topics

Roadmap for Windows Store apps using C# or Visual Basic
Roadmap for Windows Store apps using C++

 

 

Show:
© 2014 Microsoft