Language: JavaScript and HTML | VB/C#/C++ and XAML

Adding selection controls (Windows Runtime apps using C#/VB/C++ and XAML)

Applies to Windows and Windows Phone

Selection controls let users select between multiple options.

DatePicker

TimePicker

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

Slider

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

TopicDescription

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 Store apps using C# or Visual Basic
Roadmap for Windows Store apps using C++

 

 

Show:
© 2014 Microsoft. All rights reserved.