編輯

共用方式為


DataGridComboBoxColumn.OnTextBindingChanged(BindingBase, BindingBase) Method

Definition

Notifies the DataGrid when the TextBinding property changes.

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

Parameters

oldBinding
BindingBase

The previous binding.

newBinding
BindingBase

The binding that the column has been changed to.

Applies to