Click or drag to resize
Ranorex

KeyEventArgs Class

Provides data for the events of the Keyboard class.
Inheritance Hierarchy
SystemObject
  SystemEventArgs
    System.Windows.FormsKeyEventArgs
      RanorexKeyEventArgs

Namespace:  Ranorex
Assembly:  Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntax
public class KeyEventArgs : KeyEventArgs

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
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also