DataGridBoundColumn.OnBindingChanged(BindingBase, BindingBase) メソッド

定義

DataGrid プロパティの値が変更された場合に、Binding に通知します。Notifies the DataGrid when the value of the Binding property changes.

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

前のバインディング。The previous binding.

newBinding
BindingBase

列が変更された後のバインディング。The binding that the column has been changed to.

注意 (継承者)

派生クラスOnBindingChanged(BindingBase, BindingBase)でをオーバーライドする場合は、登録されているデリゲートがOnBindingChanged(BindingBase, BindingBase)イベントを受け取るように、基本クラスのメソッドを呼び出す必要があります。When overriding OnBindingChanged(BindingBase, BindingBase) in a derived class, make sure that you call the base class' OnBindingChanged(BindingBase, BindingBase) method so that registered delegates receive the event.

適用対象