namespace GDNXFD.Alert.Config.Controls { using GDNXFD.Alert.Config.Helpers; using GDNXFD.Alert.Config.Views; using System; using System.Threading; using System.Threading.Tasks; using System.Windows.Controls; using System.Windows.Input; //using Windows.Devices.Input; /// /// Textbox with virtual Keyboard /// . public partial class TextBoxKeyboard : TextBox { private TabtipHelper tabtipHelper = TabtipHelper.Instance; /// /// On got focus. /// /// Event args protected override void OnGotFocus(System.Windows.RoutedEventArgs e) { tabtipHelper.TryCreateTabtipProcess(); base.OnGotFocus(e); } /// /// On lost focus. /// /// Event args protected override void OnLostFocus(System.Windows.RoutedEventArgs e) { tabtipHelper.TryKillTabtipProcess(); base.OnLostFocus(e); } } }