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)
229
var lastItemIndex = Math.Min(_itemsBefore + _visibleItemCapacity,
_itemCount
);
247
if (_loadedItems != null && !_loading &&
_itemCount
== 0 && _emptyContent != null)
283
var itemsAfter = Math.Max(0,
_itemCount
- _visibleItemCapacity - _itemsBefore);
320
var itemsBefore = Math.Max(0,
_itemCount
- itemsAfter - visibleItemCapacity);
326
if (itemsBefore == _itemsBefore && itemsBefore <
_itemCount
- visibleItemCapacity)
373
if (itemsBefore + visibleItemCapacity >
_itemCount
)
375
itemsBefore = Math.Max(0,
_itemCount
- visibleItemCapacity);