Share via


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.

DatePicker

TimePicker

A control that lets a user select a date.

A control that lets a user set a time value.

Check box

Radio button

A control that a user can select or clear.

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.

Combo box

List box

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

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

Slider

Toggle switch

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

A switch that can be toggled between 2 states.

 

In this section

Topic Description

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.

 

Roadmap for Windows Runtime apps using C# or Visual Basic

Roadmap for Windows Runtime apps using C++