Gets the keyboard value for a KeyDown or KeyUp event.
The integer representation of the KeyData property.
| Exception Type | Condition |
|---|---|
| InvalidOperationException | Thrown if the event is not a key event. |
PInputEventArgs Class | UMD.HCIL.Piccolo.Event Namespace