This is preliminary documentation and subject to change. To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!
KeyEventArgs Constructor (Keys)
Initializes a new instance of the KeyEventArgs class.
[Visual Basic]
Overloads Public Sub New( _
ByVal keyData As Keys _)[C#]
public KeyEventArgs(
Keys keyData);[C++]
public: KeyEventArgs(
Keys keyData);[JScript]
public function KeyEventArgs(
keyData : Keys);
Parameters
keyData
The key code constant for the key that was pressed, combined with any modifier flags that indicate which CTRL, SHIFT, and ALT keys were pressed at the same time. Possible values are obtained be applying the bitwise OR (|) operator to constants from Keys.