1 write to _rowCache
PresentationFramework (1)
MS\Internal\Documents\RowCache.cs (1)
31_rowCache = new List<RowInfo>(_defaultRowCacheSize);
52 references to _rowCache
PresentationFramework (52)
MS\Internal\Documents\RowCache.cs (52)
53_rowCache.Clear(); 89return _rowCache.Count; 242ArgumentOutOfRangeException.ThrowIfGreaterThan(index, _rowCache.Count); 244return _rowCache[index]; 258return _rowCache[GetRowIndexForPageNumber(pageNumber)]; 276for (int i = 0; i < _rowCache.Count; i++) 278RowInfo rowInfo = _rowCache[i]; 303if (_rowCache.Count == 0) 317for (int i = 0; i < _rowCache.Count; i++) 319double rowOffset = Math.Round(_rowCache[i].VerticalOffset, _findOffsetPrecision); 320double rowHeight = Math.Round(_rowCache[i].RowSize.Height, _findOffsetPrecision); 345i == _rowCache.Count - 1) 367return _rowCache.Count - 1; 373return _rowCache.Count - 1; 399if (_rowCache.Count == 0) 416for (int i = startRowIndex + 1; i < _rowCache.Count; i++) 418double rowOffset = Math.Round(_rowCache[i].VerticalOffset, _findOffsetPrecision); 452for (int i = 0; i < _rowCache.Count; i++) 455RowInfo currentRow = _rowCache[i]; 474_rowCache[i] = currentRow; 479changes.Add(new RowCacheChange(0, _rowCache.Count)); 572changes.Add(new RowCacheChange(0, _rowCache.Count)); 596if (_rowCache.Count == 0) 604RowInfo lastRow = _rowCache[_rowCache.Count - 1]; 656_rowCache.Clear(); 691pivotRowIndex = _rowCache.Count; 807_rowCache.Clear(); 885RowInfo lastRow = _rowCache[_rowCache.Count - 1]; 916startRow = _rowCache.Count - 1; 922startRow = _rowCache.Count; 960if (_rowCache.Count == 0) 970RowInfo lastRow = _rowCache[_rowCache.Count - 1]; 983_rowCache.Add(newRow); 1007while (currentPage < startPage + count && rowIndex < _rowCache.Count) 1010RowInfo currentRow = _rowCache[rowIndex]; 1055if (index > _rowCache.Count) 1062RowInfo oldRowInfo = _rowCache[index]; 1065_rowCache[index] = newRow; 1073for (int i = index + 1; i < _rowCache.Count; i++) 1075RowInfo row = _rowCache[i]; 1077_rowCache[i] = row; 1100for (int i = 0; i < _rowCache.Count; i++) 1102RowInfo row = _rowCache[i]; 1142int removeCount = _rowCache.Count - rowIndex; 1145if (rowIndex < _rowCache.Count) 1147_rowCache.RemoveRange(rowIndex, removeCount); 1257if (_rowCache.Count <= 1) 1261if (_rowCache.Count == 0 || _rowCache[0].PageCount < _layoutColumns)