DataGridBoundColumn.OnBindingChanged(BindingBase, BindingBase) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
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) 委派接收事件。