private void OnGainedKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e) { WindowsTaskBar.SetState(AppBarStates.AlwaysOnTop); }
private void OnLostKeyboardFocus(object sender, KeyboardFocusChangedEventArgs e) { EverythingSearch.Instance.Reset(); WindowsTaskBar.SetState(AppBarStates.AutoHide); }