NoesisGUI
 

🔹 Keyboard Class

namespace Noesis | MSDN

Represents the keyboard device.

Inheritance Hierarchy

• Keyboard

📚 Class Hierarchy Index

Properties

Keyboard has no properties

Attached Properties

Keyboard has no attached properties

Methods

Name Description
◆ ClearFocus() Clears focus
◆ Focus(UIElement*) 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(UIElement*) 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

 
© 2017 Noesis Technologies