Intersoft ClientUI Documentation
Keyboard Class Members
Fields  Properties  Methods 


The following tables list the members exposed by Keyboard.

Public Fields
 NameDescription
Public Fieldstatic (Shared in Visual Basic)GotKeyboardFocusEventIdentifies the GotKeyboardFocus routed event.  
Public Fieldstatic (Shared in Visual Basic)KeyDownEventIdentifies the KeyDown routed event.  
Public Fieldstatic (Shared in Visual Basic)KeyUpEventIdentifies the KeyUp routed event.  
Public Fieldstatic (Shared in Visual Basic)LostKeyboardFocusEventIdentifies the LostKeyboardFocus routed event.  
Public Fieldstatic (Shared in Visual Basic)PreviewGotKeyboardFocusEventIdentifies the PreviewGotKeyboardFocus routed event.  
Public Fieldstatic (Shared in Visual Basic)PreviewKeyDownEventIdentifies the PreviewKeyDown routed event.  
Public Fieldstatic (Shared in Visual Basic)PreviewKeyUpEventIdentifies the PreviewKeyUp routed event.  
Public Fieldstatic (Shared in Visual Basic)PreviewLostKeyboardFocusEventIdentifies the PreviewLostKeyboardFocus routed event.  
Top
Public Properties
 NameDescription
Public Propertystatic (Shared in Visual Basic)FocusedElementGets the element that has keyboard focus.  
Public Propertystatic (Shared in Visual Basic)LastFocusedElementGets the last element that has keyboard focus.  
Public Propertystatic (Shared in Visual Basic)LastKeyDownGets the last key that received by the keyboard device.  
Public Propertystatic (Shared in Visual Basic)LastKeyUpGets the last pressed key that received by the keyboaerd device.  
Public Propertystatic (Shared in Visual Basic)ModifiersGets the set of ModifierKeys that are currently pressed.  
Top
Public Methods
 NameDescription
Public Methodstatic (Shared in Visual Basic)AddGotKeyboardFocusHandlerAdds a handler for the Keyboard.GotKeyboardFocus routed event.  
Public Methodstatic (Shared in Visual Basic)AddKeyDownHandlerAdds a handler for the Keyboard.KeyDown attached event.  
Public Methodstatic (Shared in Visual Basic)AddKeyUpHandlerAdds a handler for the Keyboard.KeyUp attached event.  
Public Methodstatic (Shared in Visual Basic)AddLostKeyboardFocusHandlerAdds a handler for the Keyboard.LostKeyboardFocus attached event.  
Public Methodstatic (Shared in Visual Basic)AddPreviewGotKeyboardFocusHandlerAdds a handler for the Keyboard.PreviewGotKeyboardFocus attached event.  
Public Methodstatic (Shared in Visual Basic)AddPreviewKeyDownHandlerAdds a handler for the Keyboard.PreviewKeyDown attached event.  
Public Methodstatic (Shared in Visual Basic)AddPreviewKeyUpHandlerAdds a handler for the Keyboard.PreviewKeyUp attached event.  
Public Methodstatic (Shared in Visual Basic)AddPreviewLostKeyboardFocusHandlerAdds a handler for the Keyboard.PreviewLostKeyboardFocus attached event.  
Public Methodstatic (Shared in Visual Basic)FocusSets keyboard focus on the specified element.  
Public Methodstatic (Shared in Visual Basic)GetKeyStatesGets the set of key states for the specified key.  
Public Methodstatic (Shared in Visual Basic)IsKeyDownDetermines whether the specified key is pressed.  
Public Methodstatic (Shared in Visual Basic)IsKeyToggledDetermines whether the specified key is toggled.  
Public Methodstatic (Shared in Visual Basic)IsKeyUpDetermines whether the specified key is released.  
Public Methodstatic (Shared in Visual Basic)RemoveGotKeyboardFocusHandlerRemoves a handler for the Keyboard.GotKeyboardFocus attached event.  
Public Methodstatic (Shared in Visual Basic)RemoveKeyDownHandlerRemoves a handler for the Keyboard.KeyDown attached event.  
Public Methodstatic (Shared in Visual Basic)RemoveKeyUpHandlerRemoves a handler for the Keyboard.KeyUp attached event.  
Public Methodstatic (Shared in Visual Basic)RemoveLostKeyboardFocusHandlerRemoves a handler for the Keyboard.LostKeyboardFocus attached event.  
Public Methodstatic (Shared in Visual Basic)RemovePreviewGotKeyboardFocusHandlerRemoves a handler for the Keyboard.PreviewGotKeyboardFocus attached event.  
Public Methodstatic (Shared in Visual Basic)RemovePreviewKeyDownHandlerRemoves a handler for the Keyboard.PreviewKeyDown attached event.  
Public Methodstatic (Shared in Visual Basic)RemovePreviewKeyUpHandlerRemoves a handler for the Keyboard.PreviewKeyUp attached event.  
Public Methodstatic (Shared in Visual Basic)RemovePreviewLostKeyboardFocusHandlerRemoves a handler for the Keyboard.PreviewLostKeyboardFocus routed event.  
Top
See Also

Reference

Keyboard Class
Intersoft.Client.Framework.Input Namespace

Send Feedback