Partager via


Adding combo boxes and list boxes (XAML)

[ This article is for Windows 8.x and Windows Phone 8.x developers writing Windows Runtime apps. If you’re developing for Windows 10, see the latest documentation ]

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.

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.

Roadmap for Windows Store apps using C# or Visual Basic

Roadmap for Windows Store apps using C++