15 writes to Offset
PresentationFramework (15)
System\Windows\Controls\ItemContainerGenerator.cs (15)
1527_cachedState.Offset += newOffset - offset; 1544_cachedState.Offset += count; 1553_cachedState.Offset += count; 1560_cachedState.Offset = 0; 1568_cachedState.Offset += _cachedState.Count; 1660state.Offset = index; 1667state.Offset = 0; 2894if (++state.Offset >= ItemCount) 2897state.Offset = 0; 2907if (--state.Offset < 0) 2910state.Offset = state.Block.ItemCount - 1; 2923state.Offset += count; 2929state.Offset = 0; 2945state.Offset -= count; 2951state.Offset = state.Block.ItemCount - 1;
12 references to Offset
PresentationFramework (12)
System\Windows\Controls\ItemContainerGenerator.cs (12)
1434_factory.Realize(uBlock, _cachedState.Offset, item, container); 1437_factory.SetAlternationIndex(_cachedState.Block, _cachedState.Offset, _direction); 1445container = rib.ContainerAt(_cachedState.Offset); 1523if (block == _cachedState.Block && offset <= _cachedState.Offset && 1524_cachedState.Offset < offset + count) 1542else if (offset < _cachedState.Count + _cachedState.Offset) 1548else if (offset == _cachedState.Count + _cachedState.Offset) 1556else if (_cachedState.Offset == _cachedState.Block.ItemCount) 2921if (count < ItemCount - state.Offset) 2927count = ItemCount - state.Offset; 2943if (count <= state.Offset) 2949count = state.Offset + 1;