NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

KeyPressEventArgs.KeyChar

Gets the character corresponding to the key pressed.

[Visual Basic]
Public ReadOnly Property KeyChar As Char
[C#]
public char KeyChar {get;}
[C++]
public: __property __wchar_t get_KeyChar();
[JScript]
public function get KeyChar() : Char;

Property Value

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

See Also

KeyPressEventArgs Class | KeyPressEventArgs Members | System.WinForms Namespace