The Open Toolkit library  1.1
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
Public Member Functions | Properties | List of all members
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.