KeyEventArgs Constructor (Keys)
.NET Framework (current version)
Initializes a new instance of the KeyEventArgs class.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Parameters
- keyData
-
Type:
System.Windows.Forms::Keys
A Keys representing 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 the Keys enumeration.
.NET Framework
Available since 1.1
Available since 1.1
Show: