public class Keyboard : TemplatedControltype Keyboard =
class
inherit TemplatedControl
end| Keyboard | Initializes a new instance of the Keyboard class. |
| CurrentLayout | Returns the currently selected KeyboardLayout. |
| IsDebugInfoShown | Used to turn on or off debug information. |
| RegisteredLayouts | A readonly collection of the currently registered KeyboardLayouts. To modify this collection use the RegisterLayoutT or RemoveLayout(String) methods. |
| SendTextInputOn | Determinates whether text is sent when a key is pressed or released. |
| ShowLayoutCommand | The ShowLayout(String) method exposed as a ICommand. |
| BringFocusedControlIntoView | Tries to bring the currently focused Control into view. |
| ContainsLayout | Checks if we can find a specific KeyboardLayout inside the RegisteredLayouts. |
| FindLayout | Looks for a specific KeyboardLayout inside the RegisteredLayouts. |
| GetDock | Helper method for retrieving the attached DockProperty from a control. |
| GetDockIdentifier | Helper method for retrieving the value of an attached DockIdentifierProperty from a Panel. |
| GetLayout | Helper method for retrieving the attached LayoutProperty from a control. |
| HideKeyboard | Hides the keyboard by removing it from the logical tree. |
| HideKeyboardAndUnfocus | Hides the keyboard by removing it from the logical tree and unfocuses the element that caused the keyboard to show itself. |
| OnApplyTemplate |
Called when the control's template is applied.
In simple terms, this means the method is called just before the control is displayed.
(Overrides TemplatedControl.OnApplyTemplate(TemplateAppliedEventArgs)) |
| OnFocusChanged | The focus changed event is handled by inspecting the currently focused element's attached properties. |
| OnKeyPressed | Handles the KeyPressedEvent. It propagates the information into the currently focused element. |
| OnKeyReleased | Handles the KeyReleasedEvent. It propagates the information into the currently focused element. |
| RaiseSpecialKeyEvents | Determines how the keyboard handles Keys where the SpecialKey property is set. |
| RegisterLayoutT | Tries to register a new KeyboardLayout with the keyboard. |
| RemoveLayout | Tries to remove a layout from RegisteredLayouts specified by its layoutName. |
| SetDock | Helper method for setting the attached DockProperty on a control. |
| SetDockIdentifier | Helper method for setting the DockIdentifierProperty on a panel. |
| SetLayout | Helper method for setting the attached LayoutProperty on a control. |
| ShowKeyboard | Shows the keyboard by placing it in the panels Children collection. |
| ShowLayout | Looks for a layout that can be identified by the layoutName and shows it. |
| Unfocus | Clears the focus if the keyboard is attached to the visual tree. |
| UpdateDebugTextBox | Updates the debug information. |
| _activeKeyModifiers | Keeps track of the currently pressed modifier keys. |
| _altBuffer | Keeps track of how many alt buttons have been pressed. |
| _ctrlBuffer | Keeps track of how many ctrl buttons have been pressed. |
| _currentLayout | The underyling value of the CurrentLayout property. |
| _debugTextBlock | A reference to the debug TextBlock that will show debug information if the IsDebugInfoShownProperty is set to true. |
| _registeredLayouts | A list of all the KeyboardLayouts that the Keyboard is able to show. |
| _shiftBuffer | Keeps track of how many shift buttons have been pressed. |
| _winBuffer | Keeps track of how many win/meta buttons have been pressed. |
| CurrentLayoutProperty | Returns the currently selected KeyboardLayout. |
| DockIdentifierProperty | Set on a Panel to give it a unique identifier, the keyboard will use the identifier to differentiate it from other panels. |
| DockProperty | Is used to identify the Panel where the Keyboard should place itself when the control that this property is attached to receives focus. |
| IsDebugInfoShownProperty | Used to turn on or off debug information. |
| LayoutProperty | Defines which KeyboardLayout the Keyboard should try to open when the control that this property is attached to recieves focus. |
| SendTextInputOnProperty | Determinates whether text is sent when a key is pressed or released. |