9 writes to Block
PresentationFramework (9)
System\Windows\Controls\ItemContainerGenerator.cs (9)
1516
_cachedState.
Block
= newBlock;
1549
_cachedState.
Block
= _cachedState.Block.Next;
1557
_cachedState.
Block
= newBlock;
1649
state.
Block
= block;
1656
state.
Block
= block;
2888
state.
Block
= Next;
2901
state.
Block
= Prev;
2920
state.
Block
= Next;
2942
state.
Block
= Prev;
20 references to Block
PresentationFramework (20)
System\Windows\Controls\ItemContainerGenerator.cs (20)
1366
UnrealizedItemBlock uBlock = _cachedState.
Block
as UnrealizedItemBlock;
1371
if (_cachedState.
Block
== _factory._itemMap)
1427
_factory.SetAlternationIndex(_cachedState.
Block
, _cachedState.Offset, _direction);
1434
RealizedItemBlock rib = (RealizedItemBlock)_cachedState.
Block
;
1442
_cachedState.
Block
.MoveForward(ref _cachedState, true);
1446
_cachedState.
Block
.MoveBackward(ref _cachedState, true);
1513
if (block == _cachedState.
Block
&& offset <= _cachedState.Offset &&
1526
(offset == _cachedState.Count && newBlock != null && newBlock != _cachedState.
Block
))
1546
else if (_cachedState.Offset == _cachedState.
Block
.ItemCount)
1549
_cachedState.Block = _cachedState.
Block
.Next;
1665
if (offset == 0 && (!allowStartAtRealizedItem || state.
Block
== _itemMap))
1673
state.
Block
.MoveForward(ref state, true);
1678
offset -= state.
Block
.MoveForward(ref state, allowStartAtRealizedItem, offset);
1683
if (state.
Block
== _itemMap)
1688
state.
Block
.MoveBackward(ref state, true);
1693
offset += state.
Block
.MoveBackward(ref state, allowStartAtRealizedItem, -offset);
2902
state.Offset = state.
Block
.ItemCount - 1;
2903
state.Count -= state.
Block
.ItemCount;
2943
state.Offset = state.
Block
.ItemCount - 1;
2944
state.Count -= state.
Block
.ItemCount;