KeyDownEventArgs Constructor

Summary
The object constructor for the KeyDownEventArgs object.
Syntax
C#
C++/CLI
public KeyDownEventArgs( 
   short keyCode, 
   short shiftState 
) 
public: 
KeyDownEventArgs(  
   short keyCode, 
   short shiftState 
) 

Parameters

keyCode
The short integer value identifying which key was pressed.

shiftState
The short integer shift state flags. 0x0001 = Shift is pressed, 0x0002 = Ctrl is pressed, and 0x0004 = Alt is pressed

Remarks

This constructer is called internally when an KeyDownEvent occurs.

Requirements

Target Platforms

Help Version 22.0.2022.12.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MediaFoundation Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.