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
Współpracuj z nami w serwisie GitHub
Źródło tej zawartości można znaleźć w witrynie GitHub, gdzie można również tworzyć i przeglądać problemy i żądania ściągnięcia. Więcej informacji znajdziesz w naszym przewodniku dla współtwórców.