Keyboard
GotKeyboardFocusEvent
KeyboardInputProviderAcquireFocusEvent
KeyDownEvent
KeyUpEvent
LostKeyboardFocusEvent
PreviewGotKeyboardFocusEvent
PreviewKeyboardInputProviderAcquireFocusEvent
PreviewKeyDownEvent
PreviewKeyUpEvent
PreviewLostKeyboardFocusEvent
DefaultRestoreFocusMode
FocusedElement
Modifiers
PrimaryDevice
AddGotKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler)
AddKeyboardInputProviderAcquireFocusHandler(DependencyObject, KeyboardInputProviderAcquireFocusEventHandler)
AddKeyDownHandler(DependencyObject, KeyEventHandler)
AddKeyUpHandler(DependencyObject, KeyEventHandler)
AddLostKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler)
AddPreviewGotKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler)
AddPreviewKeyboardInputProviderAcquireFocusHandler(DependencyObject, KeyboardInputProviderAcquireFocusEventHandler)
AddPreviewKeyDownHandler(DependencyObject, KeyEventHandler)
AddPreviewKeyUpHandler(DependencyObject, KeyEventHandler)
AddPreviewLostKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler)
ClearFocus()
Focus(IInputElement)
GetKeyStates(Key)
IsKeyDown(Key)
IsKeyToggled(Key)
IsKeyUp(Key)
RemoveGotKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler)
RemoveKeyboardInputProviderAcquireFocusHandler(DependencyObject, KeyboardInputProviderAcquireFocusEventHandler)
RemoveKeyDownHandler(DependencyObject, KeyEventHandler)
RemoveKeyUpHandler(DependencyObject, KeyEventHandler)
RemoveLostKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler)
RemovePreviewGotKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler)
RemovePreviewKeyboardInputProviderAcquireFocusHandler(DependencyObject, KeyboardInputProviderAcquireFocusEventHandler)
RemovePreviewKeyDownHandler(DependencyObject, KeyEventHandler)
RemovePreviewKeyUpHandler(DependencyObject, KeyEventHandler)
RemovePreviewLostKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler)
net46
namespace System.Windows.Input
{
public static class Keyboard
{
public static RestoreFocusMode DefaultRestoreFocusMode { get; set; }
}
}
NetFx Compat Lab | 0.3 %
Reference this API 0.3 %
Set property |
---|---|
nuget.org | 0.0 %
Reference this API 0.0 %
Get property 0.0 %
Set property |
Upgrade Planner | 0.0 %
Reference this API 0.0 %
Get property 0.0 %
Set property |
.NET | 5.06.07.08.09.0 |
.NET Core | 3.03.1 |
.NET Framework | 4.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
Information specific to net46 | |
Assembly | PresentationCore , Version=4.0.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Your project needs to set |
Platform Restrictions | This framework does not have platform annotations. |
- Built-in API
- Package-provided API