Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Keyboard Methods

(see also Protected Methods )
  Name Description
Public method Static AddGotKeyboardFocusHandler Adds a handler for the Keyboard.GotKeyboardFocus attached event.
Public method Static AddKeyDownHandler Adds a handler for the Keyboard.KeyDown attached event.
Public method Static AddKeyUpHandler Adds a handler for the Keyboard.KeyUp attached event.
Public method Static AddLostKeyboardFocusHandler Adds a handler for the Keyboard.LostKeyboardFocus attached event.
Public method Static AddPreviewGotKeyboardFocusHandler Adds a handler for the Keyboard.PreviewGotKeyboardFocus attached event.
Public method Static AddPreviewKeyDownHandler Adds a handler for the Keyboard.PreviewKeyDown attached event.
Public method Static AddPreviewKeyUpHandler Adds a handler for the Keyboard.PreviewKeyUp attached event.
Public method Static AddPreviewLostKeyboardFocusHandler Adds a handler for the Keyboard.PreviewLostKeyboardFocus attached event.
Public method Equals  Overloaded. Determines whether two Object instances are equal. (inherited from Object)
Public method Static Focus Sets keyboard focus on the specified element.
Public method GetHashCode  Serves as a hash function for a particular type. (inherited from Object)
Public method Static GetKeyStates Gets the set of key states for the specified key.
Public method GetType  Gets the Type of the current instance. (inherited from Object)
Public method Static IsKeyDown Determines whether or not the specified key is pressed.
Public method Static IsKeyToggled Determines whether or not the specified key is toggled.
Public method Static IsKeyUp Determines whether or not the specified key is released.
Public method Static ReferenceEquals  Determines whether the specified Object instances are the same instance. (inherited from Object)
Public method Static RemoveGotKeyboardFocusHandler Removes a handler for the Keyboard.GotKeyboardFocus attached event.
Public method Static RemoveKeyDownHandler Removes a handler for the Keyboard.KeyDown attached event.
Public method Static RemoveKeyUpHandler Removes a handler for the Keyboard.KeyUp attached event.
Public method Static RemoveLostKeyboardFocusHandler Removes a handler for the Keyboard.LostKeyboardFocus attached event.
Public method Static RemovePreviewGotKeyboardFocusHandler Removes a handler for the Keyboard.PreviewGotKeyboardFocus attached event.
Public method Static RemovePreviewKeyDownHandler Removes a handler for the Keyboard.PreviewKeyDown attached event.
Public method Static RemovePreviewKeyUpHandler Removes a handler for the Keyboard.PreviewKeyUp attached event.
Public method Static RemovePreviewLostKeyboardFocusHandler Removes a handler for the Keyboard.PreviewLostKeyboardFocus attached event.
Public method ToString  Returns a String that represents the current Object. (inherited from Object)
Top

  Name Description
Protected method Finalize  Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (inherited from Object)
Protected method MemberwiseClone  Creates a shallow copy of the current Object. (inherited from Object)
Top
Was this page helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

Show:
© 2014 Microsoft