This documentation is archived and is not being maintained.

KeyEventArgs Members

Provides data for the KeyDown or KeyUp event.

The KeyEventArgs type exposes the following members.

  NameDescription
Public method Supported by the .NET Compact Framework KeyEventArgs Initializes a new instance of the KeyEventArgs class.
Top

  NameDescription
Public method Supported by the .NET Compact Framework Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method Supported by the .NET Compact Framework GetType Gets the type of the current instance. (Inherited from Object.)
Protected method Supported by the .NET Compact Framework MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Supported by the .NET Compact Framework ToString Returns a string that represents the current object. (Inherited from Object.)
Top

  NameDescription
Public property Supported by the .NET Compact Framework Alt Gets a value indicating whether the ALT key was pressed.
Public property Supported by the .NET Compact Framework Control Gets a value indicating whether the CTRL key was pressed.
Public property Supported by the .NET Compact Framework Handled Gets or sets a value indicating whether the event was handled.
Public property Supported by the .NET Compact Framework KeyCode Gets the keyboard code for a KeyDown or KeyUp event.
Public property Supported by the .NET Compact Framework KeyData Gets the key data for a KeyDown or KeyUp event.
Public property Supported by the .NET Compact Framework KeyValue Gets the keyboard value for a KeyDown or KeyUp event.
Public property Supported by the .NET Compact Framework Modifiers Gets the modifier flags for a KeyDown or KeyUp event. The flags indicate which combination of CTRL, SHIFT, and ALT keys was pressed.
Public property Supported by the .NET Compact Framework Shift Gets a value indicating whether the SHIFT key was pressed.
Public property SuppressKeyPress Gets or sets a value indicating whether the key event should be passed on to the underlying control.
Top
Show: