15 writes to Offset
PresentationFramework (15)
System\Windows\Controls\ItemContainerGenerator.cs (15)
1517_cachedState.Offset += newOffset - offset; 1534_cachedState.Offset += count; 1543_cachedState.Offset += count; 1550_cachedState.Offset = 0; 1558_cachedState.Offset += _cachedState.Count; 1650state.Offset = index; 1657state.Offset = 0; 2886if (++state.Offset >= ItemCount) 2889state.Offset = 0; 2899if (--state.Offset < 0) 2902state.Offset = state.Block.ItemCount - 1; 2915state.Offset += count; 2921state.Offset = 0; 2937state.Offset -= count; 2943state.Offset = state.Block.ItemCount - 1;
12 references to Offset
PresentationFramework (12)
System\Windows\Controls\ItemContainerGenerator.cs (12)
1424_factory.Realize(uBlock, _cachedState.Offset, item, container); 1427_factory.SetAlternationIndex(_cachedState.Block, _cachedState.Offset, _direction); 1435container = rib.ContainerAt(_cachedState.Offset); 1513if (block == _cachedState.Block && offset <= _cachedState.Offset && 1514_cachedState.Offset < offset + count) 1532else if (offset < _cachedState.Count + _cachedState.Offset) 1538else if (offset == _cachedState.Count + _cachedState.Offset) 1546else if (_cachedState.Offset == _cachedState.Block.ItemCount) 2913if (count < ItemCount - state.Offset) 2919count = ItemCount - state.Offset; 2935if (count <= state.Offset) 2941count = state.Offset + 1;