編輯

共用方式為


DataGridComboBoxColumn.SelectedItemBinding Property

Definition

Gets or sets the binding for the currently selected item.

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

Property Value

The binding for the selected item.

Remarks

Setting the SelectedItemBinding property is equivalent to setting the SelectedItem property of ComboBox.

Applies to

See also