9 writes to Block
PresentationFramework (9)
System\Windows\Controls\ItemContainerGenerator.cs (9)
1526
_cachedState.
Block
= newBlock;
1559
_cachedState.
Block
= _cachedState.Block.Next;
1567
_cachedState.
Block
= newBlock;
1659
state.
Block
= block;
1666
state.
Block
= block;
2896
state.
Block
= Next;
2909
state.
Block
= Prev;
2928
state.
Block
= Next;
2950
state.
Block
= Prev;
20 references to Block
PresentationFramework (20)
System\Windows\Controls\ItemContainerGenerator.cs (20)
1376
UnrealizedItemBlock uBlock = _cachedState.
Block
as UnrealizedItemBlock;
1381
if (_cachedState.
Block
== _factory._itemMap)
1437
_factory.SetAlternationIndex(_cachedState.
Block
, _cachedState.Offset, _direction);
1444
RealizedItemBlock rib = (RealizedItemBlock)_cachedState.
Block
;
1452
_cachedState.
Block
.MoveForward(ref _cachedState, true);
1456
_cachedState.
Block
.MoveBackward(ref _cachedState, true);
1523
if (block == _cachedState.
Block
&& offset <= _cachedState.Offset &&
1536
(offset == _cachedState.Count && newBlock != null && newBlock != _cachedState.
Block
))
1556
else if (_cachedState.Offset == _cachedState.
Block
.ItemCount)
1559
_cachedState.Block = _cachedState.
Block
.Next;
1675
if (offset == 0 && (!allowStartAtRealizedItem || state.
Block
== _itemMap))
1683
state.
Block
.MoveForward(ref state, true);
1688
offset -= state.
Block
.MoveForward(ref state, allowStartAtRealizedItem, offset);
1693
if (state.
Block
== _itemMap)
1698
state.
Block
.MoveBackward(ref state, true);
1703
offset += state.
Block
.MoveBackward(ref state, allowStartAtRealizedItem, -offset);
2910
state.Offset = state.
Block
.ItemCount - 1;
2911
state.Count -= state.
Block
.ItemCount;
2951
state.Offset = state.
Block
.ItemCount - 1;
2952
state.Count -= state.
Block
.ItemCount;