Click or drag to resize

KeyEventArgs Class

Provides data for the key events.
Inheritance Hierarchy

Namespace:  Easymap.AddIn.Common
Assembly:  EasyMap.AddIn (in EasyMap.AddIn.dll) Version: 12.0.0.0
Syntax
public class KeyEventArgs : WindowlessComponentEventArgs

The KeyEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyAlt
Returns true if the ALT key was pressed; otherwise, false.
Public propertyControl
Returns true if the CTRL key was pressed; otherwise, false.
Public propertyKeyCode
Gets the keyboard code for a System.Windows.Forms.Control.KeyDown or System.Windows.Forms.Control.KeyUp event.
Public propertyKeyData
Gets the key data for a System.Windows.Forms.Control.KeyDown or System.Windows.Forms.Control.KeyUp event.
Public propertyKeyHandled
Gets or sets a value indicating whether the event was handled.
Public propertyKeyValue
Gets the keyboard value for a System.Windows.Forms.Control.KeyDown or System.Windows.Forms.Control.KeyUp event.
Public propertyModifiers
Gets the modifier flags for a System.Windows.Forms.Control.KeyDown or System.Windows.Forms.Control.KeyUp event. The flags indicate which combination of CTRL, SHIFT, and ALT keys was pressed.
Public propertyShift
Returns true if the SHIFT key was pressed; otherwise, false.
Public propertySuppressKeyPress
Gets or sets a value indicating whether the key event should be passed on to the underlying control.
Top
See Also