You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Simple TabTip / Virtual Keyboard integration for WPF apps on Win 8.1 and Win 10
Simple to use
The easiest way to install the WPFTabTip is using the Package Manager Console in Visual Studio:
PM>Install-Package WPFTabTip
One line of code in your startup logic, and you good to go!
TabTipAutomation.BindTo<TextBox>();
You can bind TabTip automation logic to any UIElement. Virtual Keyboard will open when any such element will get focus, and it will close when element will lose focus. Not only that, but TabTipAutomation will move UIElement (or Window) into view, so that TabTip will not block focused element.
Hardware keyboard detection
By default TabTip automation will occur only if no hardware keyboard is detected.
You can change that behavior by setting TabTipAutomation.IgnoreHardwareKeyboard to any of the following values:
publicenumHardwareKeyboardIgnoreOptions{/// <summary>/// Do not ignore any keyboard./// </summary>DoNotIgnore,/// <summary>/// Ignore keyboard, if there is only one, and it's description /// can be found in ListOfKeyboardsToIgnore./// </summary>IgnoreIfSingleInstanceOnList,/// <summary>/// Ignore keyboard, if there is only one./// </summary>IgnoreIfSingleInstance,/// <summary>/// Ignore all keyboards for which the description /// can be found in ListOfKeyboardsToIgnore/// </summary>IgnoreIfOnList,/// <summary>/// Ignore all keyboards/// </summary>IgnoreAll}
If you want to ignore specific keyboard you should set TabTipAutomation.IgnoreHardwareKeyboard to either IgnoreIfSingleInstanceOnList or IgnoreIfOnList, and add keyboard description to TabTipAutomation.ListOfKeyboardsToIgnore.
To get description of keyboards connected to machine you can use following code: