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 20.0.2020.4.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Multimedia Assembly