Selector.SelectedValue Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets or sets the value of the selected item, obtained by using the SelectedValuePath.
public:
property Platform::Object ^ SelectedValue { Platform::Object ^ get(); void set(Platform::Object ^ value); };
IInspectable SelectedValue();
void SelectedValue(IInspectable value);
C#
public object SelectedValue { get; set; }
var object = selector.selectedValue;
selector.selectedValue = object;
Public Property SelectedValue As Object
XAML
<selector SelectedValue="valueAsString"/>
The value of the selected item, obtained by using the SelectedValuePath, or null if no item is selected. The default value is null.
Product | Versions |
---|---|
Windows App SDK | 0.8, 1.0, 1.1, 1.2, 1.3, 1.4, 1.5, 1.6 |