Piccolo.NET

PInputEventArgs.KeyChar Property

Gets the character corresponding to the key pressed.

public virtual char KeyChar {get;}

Property Value

The ASCII character that is composed. For example, if the user presses the SHIFT + K, this property returns an uppercase K.

Exceptions

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

See Also

PInputEventArgs Class | UMD.HCIL.Piccolo.Event Namespace