1 write to _itemsBefore
Microsoft.AspNetCore.Components.Web (1)
Virtualization\Virtualize.cs (1)
381
_itemsBefore
= itemsBefore;
10 references to _itemsBefore
Microsoft.AspNetCore.Components.Web (10)
Virtualization\Virtualize.cs (10)
225
builder.AddAttribute(1, "style", GetSpacerStyle(
_itemsBefore
));
229
var lastItemIndex = Math.Min(
_itemsBefore
+ _visibleItemCapacity, _itemCount);
230
var renderIndex =
_itemsBefore
;
254
.Skip(
_itemsBefore
- _loadedItemsStartIndex)
271
_lastRenderedPlaceholderCount = Math.Max(0, lastItemIndex -
_itemsBefore
- _lastRenderedItemCount);
283
var itemsAfter = Math.Max(0, _itemCount - _visibleItemCapacity -
_itemsBefore
);
308
if (itemsBefore ==
_itemsBefore
&& itemsBefore > 0)
326
if (itemsBefore ==
_itemsBefore
&& itemsBefore < _itemCount - visibleItemCapacity)
379
if (itemsBefore !=
_itemsBefore
|| visibleItemCapacity != _visibleItemCapacity || unusedItemCapacity != _unusedItemCapacity)
413
var request = new ItemsProviderRequest(
_itemsBefore
, _visibleItemCapacity, cancellationToken);