Keyboard Class
namespace Noesis | MSDN
Represents the keyboard device.
Properties
Keyboard has no properties
Attached Properties
Keyboard has no attached properties
Methods
Name | Description |
---|---|
ClearFocus() | Clears focus |
Focus(element) | Sets keyboard focus on the specified element. Returns the element that has focus after calling the function; may be an element other than that specified, even a null element |
GetFocused() | Gets the element that has keyboard focus |
GetKeyStates(key) | Gets the set of key states for the specified key |
GetModifiers() | Gets the set of ModifierKeys that are currently pressed |
IsActive() | Indicates if Keyboard is active |
IsFocusable(element) | Indicates if the specified element is focusable |
IsKeyDown(key) | Determines whether the specified key is pressed |
IsKeyToggled(key) | Determines whether the specified key is toggled |
IsKeyUp(key) | Determines whether the specified key is released |
IsProcessingKeyEvent() | Indicates if a Keyboard input event is being processed |
ResetState() | Resets keyboard state |
Events
Keyboard has no events
Table of Contents