Class KeyPressEventArgs
Defines the event arguments for KeyPress events. Instances of this class are cached: KeyPressEventArgs should only be used inside the relevant event, unless manually cloned.
Inherited Members
Namespace: OpenTK
Assembly: OpenTK.dll
Syntax
public class KeyPressEventArgs : EventArgs
Constructors
KeyPressEventArgs(Char)
Constructs a new instance.
Declaration
public KeyPressEventArgs(char keyChar)
Parameters
Type | Name | Description |
---|---|---|
Char | keyChar | The ASCII character that was typed. |
Properties
KeyChar
Gets a Char that defines the ASCII character that was typed.
Declaration
public char KeyChar { get; }
Property Value
Type | Description |
---|---|
Char |