Επεξεργασία

Κοινή χρήση μέσω


DataGridComboBoxColumn.SelectedValueBinding Property

Definition

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

public:
 virtual property System::Windows::Data::BindingBase ^ SelectedValueBinding { System::Windows::Data::BindingBase ^ get(); void set(System::Windows::Data::BindingBase ^ value); };
public virtual System.Windows.Data.BindingBase SelectedValueBinding { get; set; }
member this.SelectedValueBinding : System.Windows.Data.BindingBase with get, set
Public Overridable Property SelectedValueBinding As BindingBase

Property Value

The binding for the selected value.

Remarks

The selected value is determined by the SelectedValuePath property of the selected item. The selected value path is a property on the selected item object. Setting this property is equivalent to setting the SelectedValue property of ComboBox.

Applies to

See also