通过


DataGridComboBoxColumn.SelectedValuePath 属性

定义

获取或设置用于从中SelectedItem获取SelectedValue的路径。

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

属性值

获取所选值的路径。 已注册的默认值为空字符串(“)。 有关可能影响值的内容的信息,请参阅 DependencyProperty

注解

SelectedValuePath 属性允许通过设置该属性的路径来显示所选项对象的值。 这等效于该 SelectedValuePath 属性上的 Selector属性。

适用于