DataGridViewCell.OnKeyUp(KeyEventArgs, Int32) DataGridViewCell.OnKeyUp(KeyEventArgs, Int32) DataGridViewCell.OnKeyUp(KeyEventArgs, Int32) DataGridViewCell.OnKeyUp(KeyEventArgs, Int32) Method

定義

セルにフォーカスがある状態で文字キーを離したときに呼び出されます。Called when a character key is released while the focus is on a cell.

protected:
 virtual void OnKeyUp(System::Windows::Forms::KeyEventArgs ^ e, int rowIndex);
protected virtual void OnKeyUp (System.Windows.Forms.KeyEventArgs e, int rowIndex);
abstract member OnKeyUp : System.Windows.Forms.KeyEventArgs * int -> unit
override this.OnKeyUp : System.Windows.Forms.KeyEventArgs * int -> unit
Protected Overridable Sub OnKeyUp (e As KeyEventArgs, rowIndex As Integer)

パラメーター

e
KeyEventArgs KeyEventArgs KeyEventArgs KeyEventArgs

イベント データを格納している KeyEventArgsA KeyEventArgs that contains the event data.

rowIndex
Int32 Int32 Int32 Int32

セルの親行のインデックス。The index of the cell's parent row.

注釈

このメソッドは、メソッドにControl.OnKeyUp似ています。This method is similar to the Control.OnKeyUp method. このメソッドは、 KeyUpイベントが発生するのと同じ状況で呼び出されますが、実際にはイベントを発生させません。It is called in the same circumstances in which a KeyUp event is raised, but it does not actually raise the event.

適用対象

こちらもご覧ください