共用方式為


DataGridHyperlinkColumn.OnContentBindingChanged 方法

定義

DataGrid 屬性值變更時通知 ContentBinding

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

參數

oldBinding
BindingBase

先前的繫結。

newBinding
BindingBase

資料行所變更成的繫結。

備註

預設實作會通知資料方格系結已變更。

適用於