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

List of all members.

Public Member Functions

 KeyPressEventArgs (char keyChar)
 Constructs a new instance.

Properties

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

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.

Definition at line 36 of file KeyPressEventArgs.cs.


Constructor & Destructor Documentation

OpenTK.KeyPressEventArgs.KeyPressEventArgs ( char  keyChar  ) 

Constructs a new instance.

Parameters:
keyChar The ASCII character that was typed.

Definition at line 44 of file KeyPressEventArgs.cs.

00045         {
00046             KeyChar = keyChar;
00047         }


Property Documentation

char OpenTK.KeyPressEventArgs.KeyChar [get, set]

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

Definition at line 53 of file KeyPressEventArgs.cs.

 All Classes Functions Variables Enumerations Properties Events

Generated on Tue Mar 9 14:59:14 2010 for The Open Toolkit library by  doxygen 1.6.1