15 writes to Offset
PresentationFramework (15)
System\Windows\Controls\ItemContainerGenerator.cs (15)
1521_cachedState.Offset += newOffset - offset; 1538_cachedState.Offset += count; 1547_cachedState.Offset += count; 1554_cachedState.Offset = 0; 1562_cachedState.Offset += _cachedState.Count; 1654state.Offset = index; 1661state.Offset = 0; 2888if (++state.Offset >= ItemCount) 2891state.Offset = 0; 2901if (--state.Offset < 0) 2904state.Offset = state.Block.ItemCount - 1; 2917state.Offset += count; 2923state.Offset = 0; 2939state.Offset -= count; 2945state.Offset = state.Block.ItemCount - 1;
12 references to Offset
PresentationFramework (12)
System\Windows\Controls\ItemContainerGenerator.cs (12)
1428_factory.Realize(uBlock, _cachedState.Offset, item, container); 1431_factory.SetAlternationIndex(_cachedState.Block, _cachedState.Offset, _direction); 1439container = rib.ContainerAt(_cachedState.Offset); 1517if (block == _cachedState.Block && offset <= _cachedState.Offset && 1518_cachedState.Offset < offset + count) 1536else if (offset < _cachedState.Count + _cachedState.Offset) 1542else if (offset == _cachedState.Count + _cachedState.Offset) 1550else if (_cachedState.Offset == _cachedState.Block.ItemCount) 2915if (count < ItemCount - state.Offset) 2921count = ItemCount - state.Offset; 2937if (count <= state.Offset) 2943count = state.Offset + 1;