/// <inheritdoc/> protected override void OnKeyDown(KeyEventArgs e) { base.OnKeyDown(e); if (!e.Handled) { completionList.HandleKey(e); } }
protected override void OnKeyDown(KeyEventArgs e) { if (IsLoaded) { base.OnKeyDown(e); if ((CompletionList.ListBox.SelectedIndex > -1 || e.Key != Key.Enter) && !e.Handled) { completionList.HandleKey(e); } } }
void CodeSnippetCompletionWindowPreviewKeyDown(object sender, KeyEventArgs e) { CompletionList.HandleKey(e); }