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(); 887RowInfo lastRow = _rowCache[_rowCache.Count - 1]; 918startRow = _rowCache.Count - 1; 924startRow = _rowCache.Count; 964if (_rowCache.Count == 0) 974RowInfo lastRow = _rowCache[_rowCache.Count - 1]; 987_rowCache.Add(newRow); 1011while (currentPage < startPage + count && rowIndex < _rowCache.Count) 1014RowInfo currentRow = _rowCache[rowIndex]; 1061if (index > _rowCache.Count) 1068RowInfo oldRowInfo = _rowCache[index]; 1071_rowCache[index] = newRow; 1079for (int i = index + 1; i < _rowCache.Count; i++) 1081RowInfo row = _rowCache[i]; 1083_rowCache[i] = row; 1106for (int i = 0; i < _rowCache.Count; i++) 1108RowInfo row = _rowCache[i]; 1150int removeCount = _rowCache.Count - rowIndex; 1153if (rowIndex < _rowCache.Count) 1155_rowCache.RemoveRange(rowIndex, removeCount); 1265if (_rowCache.Count <= 1) 1269if (_rowCache.Count == 0 || _rowCache[0].PageCount < _layoutColumns)