4.473 Keyboard
x:Object > Keyboard | |
Keyboard | |
(usage) |
{x:Static Keyboard.StaticPropertyName} |
(description) |
Represents the keyboard device. |
[is default constructible] |
false |
(static properties) |
|
DefaultRestoreFocusMode |
RestoreFocusMode |
(description) |
The behavior of when restoring focus. |
FocusedElement |
IInputElement |
(description) |
The element that has keyboard focus. |
Modifiers |
ModifierKeys |
(description) |
The set of ModifierKeys that are currently pressed. |
PrimaryDevice |
KeyboardDevice |
(description) |
The primary keyboard input device. |
(attachable events) |
|
Keyboard.GotKeyboardFocus |
Occurs when an element receives keyboard focus. |
Keyboard.KeyboardInputProviderAcquireFocus |
Occurs when the keyboard input provider acquires focus. |
Keyboard.KeyDown |
Occurs when a key on the keyboard is pressed. |
Keyboard.KeyUp |
Occurs when a key on the keyboard is released. |
Keyboard.LostKeyboardFocus |
Occurs when an element loses keyboard focus. |
Keyboard.PreviewGotKeyboardFocus |
Occurs when an element is in the process of acquiring keyboard focus. |
Keyboard.PreviewKeyboardInputProviderAcquireFocus |
Occurs when the keyboard input provider is in the process of acquiring focus. |
Keyboard.PreviewKeyDown |
Occurs when a key on the keyboard is pressed. |
Keyboard.PreviewKeyUp |
Occurs when a key on the keyboard is released. |
Keyboard.PreviewLostKeyboardFocus |
Occurs when an element is in the process of losing keyboard focus. |