Piccolo.NET

PInputEventArgs.KeyCode Property

Gets the Keyboard code for a KeyDown or KeyUp event.

public virtual System.Windows.Forms.Keys KeyCode {get;}

Property Value

A Keys value that is the key code for the event.

Exceptions

Exception TypeCondition
InvalidOperationException Thrown if the event is not a key event.

See Also

PInputEventArgs Class | UMD.HCIL.Piccolo.Event Namespace