void Completion_BeforeShowingCompletionList(BeforeShowingCompletionListEventArgs e) { if (!Completion.CanShowForPrefix(this.Text)) { e.Cancel = true; } }
private bool FilterInvalidPrefixChars(char c) { if (MyTextBox.Text.Length > 0) { return(true); } return(Completion.CanShowForPrefix(c.ToString())); }