1 write to _rowCache
PresentationFramework (1)
MS\Internal\Documents\RowCache.cs (1)
36_rowCache = new List<RowInfo>(_defaultRowCacheSize);
52 references to _rowCache
PresentationFramework (52)
MS\Internal\Documents\RowCache.cs (52)
58_rowCache.Clear(); 94return _rowCache.Count; 247ArgumentOutOfRangeException.ThrowIfGreaterThan(index, _rowCache.Count); 249return _rowCache[index]; 263return _rowCache[GetRowIndexForPageNumber(pageNumber)]; 281for (int i = 0; i < _rowCache.Count; i++) 283RowInfo rowInfo = _rowCache[i]; 308if (_rowCache.Count == 0) 322for (int i = 0; i < _rowCache.Count; i++) 324double rowOffset = Math.Round(_rowCache[i].VerticalOffset, _findOffsetPrecision); 325double rowHeight = Math.Round(_rowCache[i].RowSize.Height, _findOffsetPrecision); 350i == _rowCache.Count - 1) 372return _rowCache.Count - 1; 378return _rowCache.Count - 1; 404if (_rowCache.Count == 0) 421for (int i = startRowIndex + 1; i < _rowCache.Count; i++) 423double rowOffset = Math.Round(_rowCache[i].VerticalOffset, _findOffsetPrecision); 457for (int i = 0; i < _rowCache.Count; i++) 460RowInfo currentRow = _rowCache[i]; 479_rowCache[i] = currentRow; 484changes.Add(new RowCacheChange(0, _rowCache.Count)); 577changes.Add(new RowCacheChange(0, _rowCache.Count)); 601if (_rowCache.Count == 0) 609RowInfo lastRow = _rowCache[_rowCache.Count - 1]; 661_rowCache.Clear(); 696pivotRowIndex = _rowCache.Count; 812_rowCache.Clear(); 890RowInfo lastRow = _rowCache[_rowCache.Count - 1]; 921startRow = _rowCache.Count - 1; 927startRow = _rowCache.Count; 965if (_rowCache.Count == 0) 975RowInfo lastRow = _rowCache[_rowCache.Count - 1]; 988_rowCache.Add(newRow); 1012while (currentPage < startPage + count && rowIndex < _rowCache.Count) 1015RowInfo currentRow = _rowCache[rowIndex]; 1060if (index > _rowCache.Count) 1067RowInfo oldRowInfo = _rowCache[index]; 1070_rowCache[index] = newRow; 1078for (int i = index + 1; i < _rowCache.Count; i++) 1080RowInfo row = _rowCache[i]; 1082_rowCache[i] = row; 1105for (int i = 0; i < _rowCache.Count; i++) 1107RowInfo row = _rowCache[i]; 1147int removeCount = _rowCache.Count - rowIndex; 1150if (rowIndex < _rowCache.Count) 1152_rowCache.RemoveRange(rowIndex, removeCount); 1262if (_rowCache.Count <= 1) 1266if (_rowCache.Count == 0 || _rowCache[0].PageCount < _layoutColumns)