PowerWEB File Upload for ASP.NET
KeyEventArgs Class
Members  See Also  Send comments on this topic.
Dart.FileUpload Namespace : KeyEventArgs Class



Provides data for the KeyDown, KeyPress or KeyUp event.

Syntax

Visual Basic (Declaration) 
Public Class KeyEventArgs 
   Inherits System.EventArgs
Visual Basic (Usage)Copy Code
Dim instance As KeyEventArgs
C# 
public class KeyEventArgs : System.EventArgs 
C++/CLI 
public ref class KeyEventArgs : public System.EventArgs 

Remarks

A KeyEventArgs, which specifies the key the user pressed and whether any modifier keys (CTRL, ALT, and SHIFT) were pressed at the same time, is passed with each KeyDown, KeyPress or KeyUp event.

The KeyDown event occurs when the user presses any key. The KeyUp event occurs when the user releases the key. Duplicate KeyDown events occur each time the key repeats, if the key is held down, but only one KeyUp event is generated when the user releases the key. The KeyPress event also occurs when a key is depressed.

For information about the event model, see Events and Delegates.

Inheritance Hierarchy

System.Object
   System.EventArgs
      Dart.FileUpload.KeyEventArgs

Requirements

Target Platforms: Microsoft .NET Framework 2.0

See Also

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