11 references to Items
Microsoft.AspNetCore.Components.QuickGrid (11)
QuickGrid.razor.cs (11)
26/// You should supply either <see cref="Items"/> or <see cref="ItemsProvider"/>, but not both. 33/// You should supply either <see cref="Items"/> or <see cref="ItemsProvider"/>, but not both. 183if (Items is not null && ItemsProvider is not null) 185throw new InvalidOperationException($"{nameof(QuickGrid)} requires one of {nameof(Items)} or {nameof(ItemsProvider)}, but both were specified."); 189var _newItemsOrItemsProvider = Items ?? (object?)ItemsProvider; 194_asyncQueryExecutor = AsyncQueryExecutorSupplier.GetAsyncQueryExecutor(Services, Items); 301/// (either <see cref="Items"/> or <see cref="ItemsProvider"/>). 400else if (Items is not null) 402var totalItemCount = _asyncQueryExecutor is null ? Items.Count() : await _asyncQueryExecutor.CountAsync(Items); 403var result = request.ApplySorting(Items).Skip(request.StartIndex);