DataGridViewBand.OnDataGridViewChanged DataGridViewBand.OnDataGridViewChanged DataGridViewBand.OnDataGridViewChanged DataGridViewBand.OnDataGridViewChanged Method

定義

當群組列與不同的 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.

適用於

另請參閱