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
Berkolaborasi dengan kami di GitHub
Sumber untuk konten ini dapat ditemukan di GitHub, yang juga dapat Anda gunakan untuk membuat dan meninjau masalah dan menarik permintaan. Untuk informasi selengkapnya, lihat panduan kontributor kami.