←Select platform

KeyDownEventArgs Constructor (KeyDownEventArgs)

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

Products | Support | Contact Us | Copyright Notices
© 1991-2017 LEAD Technologies, Inc. All Rights Reserved.
Leadtools.MediaFoundation Assembly
Click or drag to resize