void Completion_BeforeShowingCompletionList(BeforeShowingCompletionListEventArgs e) { if (!Completion.CanShowForPrefix(this.Text)) { e.Cancel = true; } }