共用方式為


DataGridComboBoxColumn.OnSelectedItemBindingChanged 方法

定義

DataGrid 屬性值變更時通知 SelectedItemBinding

protected:
 virtual void OnSelectedItemBindingChanged(System::Windows::Data::BindingBase ^ oldBinding, System::Windows::Data::BindingBase ^ newBinding);
protected virtual void OnSelectedItemBindingChanged (System.Windows.Data.BindingBase oldBinding, System.Windows.Data.BindingBase newBinding);
abstract member OnSelectedItemBindingChanged : System.Windows.Data.BindingBase * System.Windows.Data.BindingBase -> unit
override this.OnSelectedItemBindingChanged : System.Windows.Data.BindingBase * System.Windows.Data.BindingBase -> unit
Protected Overridable Sub OnSelectedItemBindingChanged (oldBinding As BindingBase, newBinding As BindingBase)

參數

oldBinding
BindingBase

先前的繫結。

newBinding
BindingBase

資料行所變更成的繫結。

適用於