DataGridViewHiddenCheckBoxCell.OnKeyDown Method
Raises the KeyDown event when a key is pressed while the focus is on a cell.
Namespace: Microsoft.SqlServer.Management.Controls
Assembly: Microsoft.SqlServer.Management.Controls (in Microsoft.SqlServer.Management.Controls.dll)
Syntax
'Declaration
Protected Overrides Sub OnKeyDown ( _
e As KeyEventArgs, _
rowIndex As Integer _
)
'Usage
Dim e As KeyEventArgs
Dim rowIndex As Integer
Me.OnKeyDown(e, rowIndex)
protected override void OnKeyDown(
KeyEventArgs e,
int rowIndex
)
protected:
virtual void OnKeyDown(
KeyEventArgs^ e,
int rowIndex
) override
abstract OnKeyDown :
e:KeyEventArgs *
rowIndex:int -> unit
override OnKeyDown :
e:KeyEventArgs *
rowIndex:int -> unit
protected override function OnKeyDown(
e : KeyEventArgs,
rowIndex : int
)
Parameters
- e
Type: System.Windows.Forms.KeyEventArgs
A [KeyEventArgs] that contains the event data.
- rowIndex
Type: System.Int32
The index of the cell's parent row.