Selector.SelectedValue Property

Definition

Gets or sets the value of the selected item, obtained by using the SelectedValuePath.

C#
public object SelectedValue { get; set; }
XAML
<selector SelectedValue="valueAsString"/>

Property Value

Object

The value of the selected item, obtained by using the SelectedValuePath, or null if no item is selected. The default value is null.

Applies to

Product Versions
Windows App SDK 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6