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)
net9.0-windows10.0.22621
namespace System.Windows.Input
{
public static class Keyboard
{
public static void RemovePreviewLostKeyboardFocusHandler(DependencyObject element, KeyboardFocusChangedEventHandler handler);
}
}
NetFx Compat Lab | 1.5 %
Reference this API |
---|---|
nuget.org | 0.0 %
Reference this API |
Upgrade Planner | 0.0 %
Reference this API |
.NET | 5.06.07.08.09.0 |
.NET Core | 3.03.1 |
.NET Framework | 3.03.54.04.54.5.14.5.24.64.6.14.6.24.74.7.14.7.24.84.8.1 |
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.08.010.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621 |
Information specific to net9.0-windows10.0.22621 | |
Assembly | PresentationCore , Version=9.0.0.0, PublicKeyToken=31bf3856ad364e35 |
Referencing | Your project needs to set |
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API