PowerWEB LiveControls for ASP.NET
KeyEventArgs Constructor(Int32,Boolean,Boolean,Boolean)
See Also  Send comments on this topic.
Dart.LiveControls Namespace > KeyEventArgs Class > KeyEventArgs Constructor : KeyEventArgs Constructor(Int32,Boolean,Boolean,Boolean)



keyCode
alt
control
shift
Initializes a new instance of KeyEventArgs.

Syntax

Visual Basic (Declaration) 
Public Function New( _
   ByVal keyCode As Integer, _
   ByVal alt As Boolean, _
   ByVal control As Boolean, _
   ByVal shift As Boolean _
)
Visual Basic (Usage)Copy Code
Dim keyCode As Integer
Dim alt As Boolean
Dim control As Boolean
Dim shift As Boolean
 
Dim instance As New KeyEventArgs(keyCode, alt, control, shift)
C# 
public KeyEventArgs( 
   int keyCode,
   bool alt,
   bool control,
   bool shift
)
C++/CLI 
public:
KeyEventArgs( 
   int keyCode,
   bool alt,
   bool control,
   bool shift
)

Parameters

keyCode
alt
control
shift

Remarks

The constructor initializes a new instance of KeyEventArgs with KeyEventArgs.KeyCode, KeyEventArgs.Alt, KeyEventArgs.Control, KeyEventArgs.Shift.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

Documentation Version 4.0.2
© 2012 Dart Communications. All Rights Reserved.