public bool CanShow()
        {
            SimpleCompletionListBuilder items = new SimpleCompletionListBuilder();

            FillItems(items);
            return(items.Count > 0);
        }
        public bool CanShowForPrefix(string prefix)
        {
            SimpleCompletionListBuilder items = new SimpleCompletionListBuilder();

            FillItems(items);
            if (items.Count == 0)
            {
                return(false);
            }
            return(items.Exists(delegate(CompletionListItem i)
            {
                return i.Text.StartsWith(prefix, TextComparison);
            }));
        }