1 write to _rowCache
PresentationFramework (1)
src\Framework\MS\Internal\Documents\RowCache.cs (1)
44_rowCache = new List<RowInfo>(_defaultRowCacheSize);
52 references to _rowCache
PresentationFramework (52)
src\Framework\MS\Internal\Documents\RowCache.cs (52)
66_rowCache.Clear(); 102return _rowCache.Count; 254if (index < 0 || index > _rowCache.Count) 259return _rowCache[index]; 275return _rowCache[GetRowIndexForPageNumber(pageNumber)]; 295for (int i = 0; i < _rowCache.Count; i++) 297RowInfo rowInfo = _rowCache[i]; 324if (_rowCache.Count == 0) 338for(int i=0;i<_rowCache.Count;i++) 340double rowOffset = Math.Round(_rowCache[i].VerticalOffset, _findOffsetPrecision); 341double rowHeight = Math.Round(_rowCache[i].RowSize.Height, _findOffsetPrecision); 366i == _rowCache.Count - 1) 388return _rowCache.Count - 1; 394return _rowCache.Count - 1; 423if (_rowCache.Count == 0) 440for (int i = startRowIndex + 1; i < _rowCache.Count; i++) 442double rowOffset = Math.Round(_rowCache[i].VerticalOffset, _findOffsetPrecision); 476for (int i = 0; i < _rowCache.Count; i++) 479RowInfo currentRow = _rowCache[i]; 498_rowCache[i] = currentRow; 503changes.Add(new RowCacheChange(0, _rowCache.Count)); 601changes.Add(new RowCacheChange(0, _rowCache.Count)); 626if (_rowCache.Count == 0) 634RowInfo lastRow = _rowCache[_rowCache.Count-1]; 691_rowCache.Clear(); 726pivotRowIndex = _rowCache.Count; 850_rowCache.Clear(); 934RowInfo lastRow = _rowCache[_rowCache.Count - 1]; 965startRow = _rowCache.Count - 1; 971startRow = _rowCache.Count; 1010if (_rowCache.Count == 0) 1020RowInfo lastRow = _rowCache[_rowCache.Count - 1]; 1033_rowCache.Add(newRow); 1057while (currentPage < startPage + count && rowIndex < _rowCache.Count) 1060RowInfo currentRow = _rowCache[rowIndex]; 1105if (index > _rowCache.Count) 1112 RowInfo oldRowInfo = _rowCache[index]; 1115_rowCache[index] = newRow; 1123for(int i = index + 1; i < _rowCache.Count; i++) 1125RowInfo row = _rowCache[i]; 1127_rowCache[i] = row; 1150for (int i = 0; i < _rowCache.Count; i++) 1152RowInfo row = _rowCache[i]; 1192int removeCount = _rowCache.Count - rowIndex; 1195if(rowIndex < _rowCache.Count ) 1197_rowCache.RemoveRange( rowIndex, removeCount); 1307if (_rowCache.Count <= 1) 1311if (_rowCache.Count == 0 || _rowCache[0].PageCount < _layoutColumns )