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