Adding selection controls
Language: HTML | XAML

Adding selection controls (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 ]

Selection controls let users select between multiple options.



A control that lets a user select a date.

Date picker control

A control that lets a user set a time value.

TimePicker control

Check box

Radio button

A control that a user can select or clear.

The 3 states of a check box

A control that allows a user to select a single option from a group of options. When radio buttons are grouped together they are mutually exclusive.

Radio button controls

Combo box

List box

A drop-down list of items a user can select from.

Open combo box

A control that presents an inline list of items that the user can select from.

List box control


Toggle switch

A control that lets the user select from a range of values by moving a Thumb control along a track.

Slider control

A switch that can be toggled between 2 states.

Toggle switch control


In this section


Adding checkboxes

Use check boxes to present users with an individual choice, one or more options that are not mutually exclusive, or a mixed choice. The topics in this section describe how to create and use check boxes.

Adding DatePickers and TimePickers

Use DatePickers or TimePickers when you want to let users select dates or times.

Adding radio buttons

With a radio button, users make a choice among a set of mutually exclusive, related options. Users can choose one and only one option. The topics in this section describe how to use RadioButton controls.

Adding combo boxes and list boxes

Use a ComboBox or ListBox control to let users select from a pre-defined list of options presented like a text control.

Adding sliders

Use sliders to let users pick a value within a continuous range.

Adding toggle switches

Use ToggleSwitch controls to present users with exactly two mutually exclusive options (like on/off), where choosing an option results in an immediate commit. A toggle switch should have a single label.


Related topics

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



© 2017 Microsoft