Keyboard Methods

Keyboard Methods

 

Namespace:   System.Windows.Input
Assembly:  PresentationCore (in PresentationCore.dll)

NameDescription
System_CAPS_pubmethodSystem_CAPS_staticAddGotKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler)

Adds a handler for the Keyboard.GotKeyboardFocus attached event.

System_CAPS_pubmethodSystem_CAPS_staticAddKeyboardInputProviderAcquireFocusHandler(DependencyObject, KeyboardInputProviderAcquireFocusEventHandler)

Adds a handler for the Keyboard.KeyboardInputProviderAcquireFocus attached event.

System_CAPS_pubmethodSystem_CAPS_staticAddKeyDownHandler(DependencyObject, KeyEventHandler)

Adds a handler for the Keyboard.KeyDown attached event.

System_CAPS_pubmethodSystem_CAPS_staticAddKeyUpHandler(DependencyObject, KeyEventHandler)

Adds a handler for the Keyboard.KeyUp attached event.

System_CAPS_pubmethodSystem_CAPS_staticAddLostKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler)

Adds a handler for the Keyboard.LostKeyboardFocus attached event.

System_CAPS_pubmethodSystem_CAPS_staticAddPreviewGotKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler)

Adds a handler for the Keyboard.PreviewGotKeyboardFocus attached event.

System_CAPS_pubmethodSystem_CAPS_staticAddPreviewKeyboardInputProviderAcquireFocusHandler(DependencyObject, KeyboardInputProviderAcquireFocusEventHandler)

Adds a handler for the Keyboard.PreviewKeyboardInputProviderAcquireFocus attached event.

System_CAPS_pubmethodSystem_CAPS_staticAddPreviewKeyDownHandler(DependencyObject, KeyEventHandler)

Adds a handler for the Keyboard.PreviewKeyDown attached event.

System_CAPS_pubmethodSystem_CAPS_staticAddPreviewKeyUpHandler(DependencyObject, KeyEventHandler)

Adds a handler for the Keyboard.PreviewKeyUp attached event.

System_CAPS_pubmethodSystem_CAPS_staticAddPreviewLostKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler)

Adds a handler for the Keyboard.PreviewLostKeyboardFocus attached event.

System_CAPS_pubmethodSystem_CAPS_staticClearFocus()

Clears focus.

System_CAPS_pubmethodSystem_CAPS_staticFocus(IInputElement)

Sets keyboard focus on the specified element.

System_CAPS_pubmethodSystem_CAPS_staticGetKeyStates(Key)

Gets the set of key states for the specified key.

System_CAPS_pubmethodSystem_CAPS_staticIsKeyDown(Key)

Determines whether the specified key is pressed.

System_CAPS_pubmethodSystem_CAPS_staticIsKeyToggled(Key)

Determines whether the specified key is toggled.

System_CAPS_pubmethodSystem_CAPS_staticIsKeyUp(Key)

Determines whether the specified key is released.

System_CAPS_pubmethodSystem_CAPS_staticRemoveGotKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler)

Removes a handler for the Keyboard.GotKeyboardFocus attached event.

System_CAPS_pubmethodSystem_CAPS_staticRemoveKeyboardInputProviderAcquireFocusHandler(DependencyObject, KeyboardInputProviderAcquireFocusEventHandler)

Removes a handler for the Keyboard.KeyboardInputProviderAcquireFocus attached event.

System_CAPS_pubmethodSystem_CAPS_staticRemoveKeyDownHandler(DependencyObject, KeyEventHandler)

Removes a handler for the Keyboard.KeyDown attached event.

System_CAPS_pubmethodSystem_CAPS_staticRemoveKeyUpHandler(DependencyObject, KeyEventHandler)

Removes a handler for the Keyboard.KeyUp attached event.

System_CAPS_pubmethodSystem_CAPS_staticRemoveLostKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler)

Removes a handler for the Keyboard.LostKeyboardFocus attached event.

System_CAPS_pubmethodSystem_CAPS_staticRemovePreviewGotKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler)

Removes a handler for the Keyboard.PreviewGotKeyboardFocus attached event.

System_CAPS_pubmethodSystem_CAPS_staticRemovePreviewKeyboardInputProviderAcquireFocusHandler(DependencyObject, KeyboardInputProviderAcquireFocusEventHandler)

Removes a handler for the Keyboard.PreviewKeyboardInputProviderAcquireFocus attached event.

System_CAPS_pubmethodSystem_CAPS_staticRemovePreviewKeyDownHandler(DependencyObject, KeyEventHandler)

Removes a handler for the Keyboard.PreviewKeyDown attached event.

System_CAPS_pubmethodSystem_CAPS_staticRemovePreviewKeyUpHandler(DependencyObject, KeyEventHandler)

Removes a handler for the Keyboard.PreviewKeyUp attached event.

System_CAPS_pubmethodSystem_CAPS_staticRemovePreviewLostKeyboardFocusHandler(DependencyObject, KeyboardFocusChangedEventHandler)

Removes a handler for the Keyboard.PreviewLostKeyboardFocus attached event.

Return to top
Show:
© 2016 Microsoft