KeyEventArgs(Keys) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initializes a new instance of the KeyEventArgs class.
public:
KeyEventArgs(System::Windows::Forms::Keys keyData);
public KeyEventArgs (System.Windows.Forms.Keys keyData);
new System.Windows.Forms.KeyEventArgs : System.Windows.Forms.Keys -> System.Windows.Forms.KeyEventArgs
Public Sub New (keyData As Keys)
Parameters
- keyData
- 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 by applying the bitwise OR (|) operator to constants from the Keys enumeration.
Applies to
See also
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.