1 write to _itemCount
Microsoft.AspNetCore.Components.Web (1)
Virtualization\Virtualize.cs (1)
422_itemCount = result.TotalItemCount;
7 references to _itemCount
Microsoft.AspNetCore.Components.Web (7)
Virtualization\Virtualize.cs (7)
229var lastItemIndex = Math.Min(_itemsBefore + _visibleItemCapacity, _itemCount); 247if (_loadedItems != null && !_loading && _itemCount == 0 && _emptyContent != null) 283var itemsAfter = Math.Max(0, _itemCount - _visibleItemCapacity - _itemsBefore); 320var itemsBefore = Math.Max(0, _itemCount - itemsAfter - visibleItemCapacity); 326if (itemsBefore == _itemsBefore && itemsBefore < _itemCount - visibleItemCapacity) 373if (itemsBefore + visibleItemCapacity > _itemCount) 375itemsBefore = Math.Max(0, _itemCount - visibleItemCapacity);