15 writes to Offset
PresentationFramework (15)
System\Windows\Controls\ItemContainerGenerator.cs (15)
1518_cachedState.Offset += newOffset - offset; 1535_cachedState.Offset += count; 1544_cachedState.Offset += count; 1551_cachedState.Offset = 0; 1559_cachedState.Offset += _cachedState.Count; 1651state.Offset = index; 1658state.Offset = 0; 2889if (++state.Offset >= ItemCount) 2892state.Offset = 0; 2902if (--state.Offset < 0) 2905state.Offset = state.Block.ItemCount - 1; 2918state.Offset += count; 2924state.Offset = 0; 2940state.Offset -= count; 2946state.Offset = state.Block.ItemCount - 1;
12 references to Offset
PresentationFramework (12)
System\Windows\Controls\ItemContainerGenerator.cs (12)
1425_factory.Realize(uBlock, _cachedState.Offset, item, container); 1428_factory.SetAlternationIndex(_cachedState.Block, _cachedState.Offset, _direction); 1436container = rib.ContainerAt(_cachedState.Offset); 1514if (block == _cachedState.Block && offset <= _cachedState.Offset && 1515_cachedState.Offset < offset + count) 1533else if (offset < _cachedState.Count + _cachedState.Offset) 1539else if (offset == _cachedState.Count + _cachedState.Offset) 1547else if (_cachedState.Offset == _cachedState.Block.ItemCount) 2916if (count < ItemCount - state.Offset) 2922count = ItemCount - state.Offset; 2938if (count <= state.Offset) 2944count = state.Offset + 1;