Click or drag to resize
Ranorex

KeyEventArgs Properties

The KeyEventArgs type exposes the following members.

Properties
  NameDescription
Public propertyAlt
Gets a value indicating whether the ALT key was pressed.
(Inherited from KeyEventArgs.)
Public propertyControl
Gets a value indicating whether the CTRL key was pressed.
(Inherited from KeyEventArgs.)
Public propertyHandled
Gets or sets a value indicating whether the event was handled.
(Inherited from KeyEventArgs.)
Public propertyKeyCode
Gets the keyboard code for a KeyDown or KeyUp event.
(Inherited from KeyEventArgs.)
Public propertyKeyData
Gets the key data for a KeyDown or KeyUp event.
(Inherited from KeyEventArgs.)
Public propertyKeyValue
Gets the keyboard value for a KeyDown or KeyUp event.
(Inherited from KeyEventArgs.)
Public propertyModifiers
Gets the modifier flags for a KeyDown or KeyUp event. The flags indicate which combination of CTRL, SHIFT, and ALT keys was pressed.
(Inherited from KeyEventArgs.)
Public propertyScanCode
Gets the hardware scan code of the key that raised this event.
Public propertyShift
Gets a value indicating whether the SHIFT key was pressed.
(Inherited from KeyEventArgs.)
Public propertySimulated
Gets a value indicating whether the event has been simulated or issued because of a physical keyboard action.
Public propertySuppressKeyPress
Gets or sets a value indicating whether the key event should be passed on to the underlying control.
(Inherited from KeyEventArgs.)
Public propertyTime
Gets the time the event was raised at.
Top
See Also