The Open Toolkit library  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
OpenTK.KeyPressEventArgs Class Reference

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. More...

Inherits EventArgs.

Public Member Functions

 KeyPressEventArgs (char keyChar)
 Constructs a new instance. More...
 

Properties

char KeyChar [get, set]
 Gets a System.Char that defines the ASCII character that was typed. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

OpenTK.KeyPressEventArgs.KeyPressEventArgs ( char  keyChar)

Constructs a new instance.

Parameters
keyCharThe ASCII character that was typed.

Property Documentation

char OpenTK.KeyPressEventArgs.KeyChar
getset

Gets a System.Char that defines the ASCII character that was typed.