DataGridBoundColumn.OnBindingChanged(BindingBase, BindingBase) 方法

定义

注意,DataGrid 属性的值更改时的 Binding

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

参数

oldBinding
BindingBase

以前的绑定。

newBinding
BindingBase

已将列更改为的绑定。

继承者说明

OnBindingChanged(BindingBase, BindingBase) 派生类中重写时,请确保调用基类 OnBindingChanged(BindingBase, BindingBase) 的方法,以便已注册的委托接收事件。

适用于