[]
Gets or sets a value of the selected item, obtained by using the SelectedValuePath. This is a dependency property.
[Localizability(LocalizationCategory.NeverLocalize)]
[Bindable(true)]
public object SelectedValue { get; set; }
<Localizability(LocalizationCategory.NeverLocalize)>
<Bindable(True)>
Public Property SelectedValue As Object
Type | Description |
---|---|
object | The value of the selected item, obtained by using the SelectedValuePath, or null if no item is selected. The default value is null. |
The following code example demonstrates how to use SelectedValue and SelectedValuePath property.