KeyDownEventArgs Constructor

Summary
The object constructor for the KeyDownEventArgs object.
Syntax
C#
VB
C++
public KeyDownEventArgs( 
   short keyCode, 
   short shiftState 
) 
Public Function New( _ 
   ByVal keyCode As Short, _ 
   ByVal shiftState As Short _ 
) 
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 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.MediaFoundation Assembly

Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.