Rating CellOn Key Up Method
This is handled to raise the CellClick and
CellContentClick events when one of the digit keys 0 thorough 9
or + or - is released.
Definition
Namespace: EWSoftware.ListControls.DataGridViewControls
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
Assembly: EWSoftware.ListControls (in EWSoftware.ListControls.dll) Version: 2024.12.31.0
C#
protected override void OnKeyUp(
KeyEventArgs e,
int rowIndex
)VB
Protected Overrides Sub OnKeyUp (
e As KeyEventArgs,
rowIndex As Integer
)C++
protected:
virtual void OnKeyUp(
KeyEventArgs^ e,
int rowIndex
) overrideF#
abstract OnKeyUp :
e : KeyEventArgs *
rowIndex : int -> unit
override OnKeyUp :
e : KeyEventArgs *
rowIndex : int -> unit Parameters
- e KeyEventArgs
- The event arguments
- rowIndex Int32
- The index of the row containing the cell
Remarks
Digits 0 through 9 can be used to set a rating in that range. The plus (+) and minus (-)
keys can be used to adjust the current rating up or down by one.