1 write to _rowCache
PresentationFramework (1)
MS\Internal\Documents\RowCache.cs (1)
30_rowCache = new List<RowInfo>(_defaultRowCacheSize);
52 references to _rowCache
PresentationFramework (52)
MS\Internal\Documents\RowCache.cs (52)
52_rowCache.Clear(); 88return _rowCache.Count; 241ArgumentOutOfRangeException.ThrowIfGreaterThan(index, _rowCache.Count); 243return _rowCache[index]; 257return _rowCache[GetRowIndexForPageNumber(pageNumber)]; 275for (int i = 0; i < _rowCache.Count; i++) 277RowInfo rowInfo = _rowCache[i]; 302if (_rowCache.Count == 0) 316for (int i = 0; i < _rowCache.Count; i++) 318double rowOffset = Math.Round(_rowCache[i].VerticalOffset, _findOffsetPrecision); 319double rowHeight = Math.Round(_rowCache[i].RowSize.Height, _findOffsetPrecision); 344i == _rowCache.Count - 1) 366return _rowCache.Count - 1; 372return _rowCache.Count - 1; 398if (_rowCache.Count == 0) 415for (int i = startRowIndex + 1; i < _rowCache.Count; i++) 417double rowOffset = Math.Round(_rowCache[i].VerticalOffset, _findOffsetPrecision); 451for (int i = 0; i < _rowCache.Count; i++) 454RowInfo currentRow = _rowCache[i]; 473_rowCache[i] = currentRow; 478changes.Add(new RowCacheChange(0, _rowCache.Count)); 571changes.Add(new RowCacheChange(0, _rowCache.Count)); 595if (_rowCache.Count == 0) 603RowInfo lastRow = _rowCache[_rowCache.Count - 1]; 655_rowCache.Clear(); 690pivotRowIndex = _rowCache.Count; 806_rowCache.Clear(); 886RowInfo lastRow = _rowCache[_rowCache.Count - 1]; 917startRow = _rowCache.Count - 1; 923startRow = _rowCache.Count; 963if (_rowCache.Count == 0) 973RowInfo lastRow = _rowCache[_rowCache.Count - 1]; 986_rowCache.Add(newRow); 1010while (currentPage < startPage + count && rowIndex < _rowCache.Count) 1013RowInfo 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]; 1149int removeCount = _rowCache.Count - rowIndex; 1152if (rowIndex < _rowCache.Count) 1154_rowCache.RemoveRange(rowIndex, removeCount); 1264if (_rowCache.Count <= 1) 1268if (_rowCache.Count == 0 || _rowCache[0].PageCount < _layoutColumns)