DataGridView.OnRowErrorTextChanged(DataGridViewRowEventArgs) メソッド

定義

RowErrorTextChanged イベントを発生させます。

protected:
 virtual void OnRowErrorTextChanged(System::Windows::Forms::DataGridViewRowEventArgs ^ e);
protected virtual void OnRowErrorTextChanged (System.Windows.Forms.DataGridViewRowEventArgs e);
abstract member OnRowErrorTextChanged : System.Windows.Forms.DataGridViewRowEventArgs -> unit
override this.OnRowErrorTextChanged : System.Windows.Forms.DataGridViewRowEventArgs -> unit
Protected Overridable Sub OnRowErrorTextChanged (e As DataGridViewRowEventArgs)

パラメーター

e
DataGridViewRowEventArgs

イベント データを格納している DataGridViewRowEventArgs

例外

eRow プロパティにより示される行は、この DataGridView コントロールに属していません。

注釈

イベントを発生させると、イベント ハンドラーがデリゲートから呼び出されます。 詳細については、処理とイベントの発生 を参照してください。

OnRowErrorTextChanged メソッドを使用すると、デリゲートを結び付けずに、派生クラスでイベントを処理することもできます。 派生クラスでイベントを処理する場合は、この手法をお勧めします。

注意 (継承者)

派生クラスで OnRowEnter(DataGridViewCellEventArgs) をオーバーライドする場合は、登録されているデリゲートがイベントを受け取ることができるように、基本クラスの OnRowEnter(DataGridViewCellEventArgs) メソッドを呼び出してください。

適用対象

こちらもご覧ください