protected async Task HandleMouseUp(GridColumnBase gridColumn) { List <string> options = (await GridConfig.GetSourceListAsync()) .Select(n => gridColumn.PropertyInfo.GetValue(n, null).ToString()) .Distinct().Take(11).ToList(); await GridSearch.CreateGridSearch(gridColumn, options.Count() <= 10?options : null); }