DataGridViewBand.OnDataGridViewChanged 方法

定義

當群組列與不同的 DataGridView 產生關聯時呼叫。Called when the band is associated with a different DataGridView.

protected:
 override void OnDataGridViewChanged();
protected override void OnDataGridViewChanged ();
override this.OnDataGridViewChanged : unit -> unit
Protected Overrides Sub OnDataGridViewChanged ()

給繼承者的注意事項

OnDataGridViewChanged()在衍生類別中覆寫時,請務必呼叫基類的 OnDataGridViewChanged() 方法。When overriding OnDataGridViewChanged() in a derived class, be sure to call the base class's OnDataGridViewChanged() method.

適用於

另請參閱