DataGridComboBoxColumn.SelectedValuePath Property

Definition

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

public:
 property System::String ^ SelectedValuePath { System::String ^ get(); void set(System::String ^ value); };
public string SelectedValuePath { get; set; }
member this.SelectedValuePath : string with get, set
Public Property SelectedValuePath As String

Property Value

The path to get the selected value. The registered default is an empty string (""). For information about what can influence the value, see DependencyProperty.

Remarks

The SelectedValuePath property allows you to display a value of the selected item object by setting the path to that property. This is equivalent to the SelectedValuePath property on Selector.

Applies to