PowerWEB LiveControls for ASP.NET
KeyCode Property
See Also  Send comments on this topic.
Dart.LiveControls Namespace > KeyEventArgs Class : KeyCode Property



Gets the keyboard code for a KeyEventArgs.KeyDown, KeyEventArgs.KeyPress or KeyEventArgs.KeyUp event.

Syntax

Visual Basic (Declaration) 
Public Property KeyCode As Integer
Visual Basic (Usage)Copy Code
Dim instance As KeyEventArgs
Dim value As Integer
 
instance.KeyCode = value
 
value = instance.KeyCode
C# 
public int KeyCode {get; set;}
C++/CLI 
public:
property int KeyCode {
   int get();
   void set (    int value);
}

Property Value

A Keys value that is the key code for the event.

Remarks

Use this property to determine the key corresponding to PowerWEB control event.

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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