Selector.SelectedValuePath Property

Definition

Gets or sets the property path that is used to get the SelectedValue property of the SelectedItem property.

Equivalent WinUI property: Microsoft.UI.Xaml.Controls.Primitives.Selector.SelectedValuePath.

public:
 property Platform::String ^ SelectedValuePath { Platform::String ^ get(); void set(Platform::String ^ value); };
winrt::hstring SelectedValuePath();

void SelectedValuePath(winrt::hstring value);
public string SelectedValuePath { get; set; }
var string = selector.selectedValuePath;
selector.selectedValuePath = string;
Public Property SelectedValuePath As String
<selector SelectedValuePath="propertyPath"/>

Property Value

String

The property path that is used to get the SelectedValue property of the SelectedItem property. The default is String.Empty.

Applies to