/// <inheritdoc/>
		protected override void OnKeyDown(KeyEventArgs e)
		{
			base.OnKeyDown(e);
			if (!e.Handled) {
				completionList.HandleKey(e);
			}
		}
Пример #2
0
 /// <inheritdoc/>
 protected override void OnKeyDown(KeyEventArgs e)
 {
     base.OnKeyDown(e);
     if (/*!e.Handled && */ e.Key == Key.Escape)
     {
         e.Handled       = true;
         this.Visibility = Visibility.Hidden;
         MakeVisible(false);
         //Close();
     }
     if (!e.Handled)
     {
         completionList.HandleKey(e);
     }
 }