Selector.SelectedValue property

This topic has not yet been rated - Rate this topic

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

Syntax


public object SelectedValue { get; set; }


<selector SelectedValue="valueAsString"/>

XAML Values

valueAsString

A string that is equivalent to the desired value as displayed in the UI.

Property value

Type: System.Object [.NET] | Platform::Object [C++]

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

Requirements

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Namespace

Windows.UI.Xaml.Controls.Primitives
Windows::UI::Xaml::Controls::Primitives [C++]

Metadata

Windows.winmd

See also

Selector

 

 

Build date: 3/12/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.