Click or drag to resize
Keyboard Class
Implements keyboard device and routed events
Inheritance Hierarchy
SystemObject
  EmptyKeys.UserInterface.InputKeyboard

Namespace: EmptyKeys.UserInterface.Input
Assembly: EmptyKeys.UserInterface (in EmptyKeys.UserInterface.dll) Version: 2.5.0.0 (2.5.0.0)
Syntax
C#
public class Keyboard

The Keyboard type exposes the following members.

Constructors
  NameDescription
Public methodKeyboard
Initializes a new instance of the Keyboard class.
Top
Properties
  NameDescription
Public propertyFocusedElement
Gets the focused element.
Public propertyStatic memberIsAltPressed
Gets a value indicating whether is alt pressed.
Public propertyStatic memberIsControlPressed
Gets a value indicating whether is control pressed.
Public propertyStatic memberIsShiftPressed
Gets a value indicating whether is shift pressed.
Public propertyStatic memberModifiers
Gets the modifiers.
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.)
Public methodHideVirtualKeyboard
Hides the virtual keyboard.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodShowVirtualKeyboard
Shows the virtual keyboard.
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Public methodUpdate
Updates all listeners
Top
Fields
  NameDescription
Public fieldStatic memberKeyDownEvent
The key down event
Public fieldStatic memberKeyUpEvent
The key up event
Public fieldStatic memberPreviewKeyDownEvent
The preview key down event
Public fieldStatic memberPreviewKeyUpEvent
The preview key up event
Top
See Also