namespace GDNXFD.Alert.Config.Controls
{
using GDNXFD.Alert.Config.Helpers;
using System;
using System.Threading;
using System.Threading.Tasks;
using System.Windows.Controls;
///
/// Combobox with virtual Keyboard
/// .
public class ComboBoxKeyboard : ComboBox
{
private TabtipHelper tabtipHelper = TabtipHelper.Instance;
///
/// On got focus.
///
/// Event args
protected override void OnGotKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs e)
{
tabtipHelper.TryCreateTabtipProcess();
base.OnGotKeyboardFocus(e);
}
///
/// On lost focus.
///
/// Event args
protected override void OnLostKeyboardFocus(System.Windows.Input.KeyboardFocusChangedEventArgs e)
{
tabtipHelper.TryKillTabtipProcess();
base.OnLostKeyboardFocus(e);
}
}
}