DataGridViewCell.OnKeyUp(KeyEventArgs, Int32) Method

Definition

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)

Parameters

e
KeyEventArgs

A KeyEventArgs that contains the event data.

rowIndex
Int32

The index of the cell's parent row.

Remarks

This method is similar to the Control.OnKeyUp method. It is called in the same circumstances in which a KeyUp event is raised, but it does not actually raise the event.

Applies to

See also