9 writes to Block
PresentationFramework (9)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (9)
1534
_cachedState.
Block
= newBlock;
1567
_cachedState.
Block
= _cachedState.Block.Next;
1575
_cachedState.
Block
= newBlock;
1667
state.
Block
= block;
1674
state.
Block
= block;
2904
state.
Block
= Next;
2917
state.
Block
= Prev;
2936
state.
Block
= Next;
2958
state.
Block
= Prev;
20 references to Block
PresentationFramework (20)
src\Framework\System\Windows\Controls\ItemContainerGenerator.cs (20)
1384
UnrealizedItemBlock uBlock = _cachedState.
Block
as UnrealizedItemBlock;
1389
if (_cachedState.
Block
== _factory._itemMap)
1445
_factory.SetAlternationIndex(_cachedState.
Block
, _cachedState.Offset, _direction);
1452
RealizedItemBlock rib = (RealizedItemBlock)_cachedState.
Block
;
1460
_cachedState.
Block
.MoveForward(ref _cachedState, true);
1464
_cachedState.
Block
.MoveBackward(ref _cachedState, true);
1531
if (block == _cachedState.
Block
&& offset <= _cachedState.Offset &&
1544
(offset == _cachedState.Count && newBlock != null && newBlock != _cachedState.
Block
))
1564
else if (_cachedState.Offset == _cachedState.
Block
.ItemCount)
1567
_cachedState.Block = _cachedState.
Block
.Next;
1683
if (offset == 0 && (!allowStartAtRealizedItem || state.
Block
== _itemMap))
1691
state.
Block
.MoveForward(ref state, true);
1696
offset -= state.
Block
.MoveForward(ref state, allowStartAtRealizedItem, offset);
1701
if (state.
Block
== _itemMap)
1706
state.
Block
.MoveBackward(ref state, true);
1711
offset += state.
Block
.MoveBackward(ref state, allowStartAtRealizedItem, -offset);
2918
state.Offset = state.
Block
.ItemCount - 1;
2919
state.Count -= state.
Block
.ItemCount;
2959
state.Offset = state.
Block
.ItemCount - 1;
2960
state.Count -= state.
Block
.ItemCount;