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!

KeyEventArgs.KeyCode

Gets the keyboard code for a System.WinForms.Control.KeyDown or System.WinForms.Control.KeyUp event.

[Visual Basic]
Public ReadOnly Property KeyCode As Keys
[C#]
public Keys KeyCode {get;}
[C++]
public: __property Keys get_KeyCode();
[JScript]
public function get KeyCode() : Keys;

Property Value

The key code for the event, which will be one of the Keys values.

See Also

KeyEventArgs Class | KeyEventArgs Members | System.WinForms Namespace | KeyData