語言

DataGridViewComboBoxCell.OnDataGridViewChanged 方法

定義

當儲存格的性質改變時 DataGridView ,會被呼叫。

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

例外狀況

DataSource屬性不null存在,且屬性或屬性的值DisplayMemberValueMember都不是null、且Empty不會在資料來源中標示有效的屬性或欄位。

適用於

另請參閱