9 writes to Block
PresentationFramework (9)
System\Windows\Controls\ItemContainerGenerator.cs (9)
1520
_cachedState.
Block
= newBlock;
1553
_cachedState.
Block
= _cachedState.Block.Next;
1561
_cachedState.
Block
= newBlock;
1653
state.
Block
= block;
1660
state.
Block
= block;
2890
state.
Block
= Next;
2903
state.
Block
= Prev;
2922
state.
Block
= Next;
2944
state.
Block
= Prev;
20 references to Block
PresentationFramework (20)
System\Windows\Controls\ItemContainerGenerator.cs (20)
1370
UnrealizedItemBlock uBlock = _cachedState.
Block
as UnrealizedItemBlock;
1375
if (_cachedState.
Block
== _factory._itemMap)
1431
_factory.SetAlternationIndex(_cachedState.
Block
, _cachedState.Offset, _direction);
1438
RealizedItemBlock rib = (RealizedItemBlock)_cachedState.
Block
;
1446
_cachedState.
Block
.MoveForward(ref _cachedState, true);
1450
_cachedState.
Block
.MoveBackward(ref _cachedState, true);
1517
if (block == _cachedState.
Block
&& offset <= _cachedState.Offset &&
1530
(offset == _cachedState.Count && newBlock != null && newBlock != _cachedState.
Block
))
1550
else if (_cachedState.Offset == _cachedState.
Block
.ItemCount)
1553
_cachedState.Block = _cachedState.
Block
.Next;
1669
if (offset == 0 && (!allowStartAtRealizedItem || state.
Block
== _itemMap))
1677
state.
Block
.MoveForward(ref state, true);
1682
offset -= state.
Block
.MoveForward(ref state, allowStartAtRealizedItem, offset);
1687
if (state.
Block
== _itemMap)
1692
state.
Block
.MoveBackward(ref state, true);
1697
offset += state.
Block
.MoveBackward(ref state, allowStartAtRealizedItem, -offset);
2904
state.Offset = state.
Block
.ItemCount - 1;
2905
state.Count -= state.
Block
.ItemCount;
2945
state.Offset = state.
Block
.ItemCount - 1;
2946
state.Count -= state.
Block
.ItemCount;