Share via


Selector.SelectedValue Property

Definition

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);
public object SelectedValue { get; set; }
var object = selector.selectedValue;
selector.selectedValue = object;
Public Property SelectedValue As Object
<selector SelectedValue="valueAsString"/>

Property Value

Object

Platform::Object

IInspectable

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