1 write to _rowCache
PresentationFramework (1)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
2536_rowCache = new RowCache();
41 references to _rowCache
PresentationFramework (41)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (41)
343else if (pageNumber >= _pageCache.PageCount || _rowCache.RowCount == 0) 346if (_pageCache.IsPaginationCompleted && _rowCache.HasValidLayout) 364RowInfo scrolledRow = _rowCache.GetRowForPageNumber(pageNumber); 387if (nextRow < _rowCache.RowCount) 390RowInfo row = _rowCache.GetRow(nextRow); 405if (previousRow >= 0 && previousRow < _rowCache.RowCount) 408RowInfo row = _rowCache.GetRow(previousRow); 557return _rowCache.ExtentWidth; 568return _rowCache.ExtentHeight; 799return _rowCache.Scale; 823return _rowCache.VerticalPageSpacing; 833_rowCache.VerticalPageSpacing = value; 845return _rowCache.HorizontalPageSpacing; 855_rowCache.HorizontalPageSpacing = value; 1155if (_firstVisiblePageNumber < _pageCache.PageCount && _rowCache.HasValidLayout) 1159ApplyViewParameters(_rowCache.GetRowForPageNumber(_firstVisiblePageNumber)); 1222RowInfo currentRow = _rowCache.GetRow(row); 1372if (_rowCache.RowCount == 0) 1391_rowCache.GetVisibleRowIndices(offset, 1433RowInfo firstRow = _rowCache.GetRow(newFirstVisibleRow); 1435RowInfo lastRow = _rowCache.GetRow(newFirstVisibleRow + newVisibleRowCount - 1); 1459RowInfo currentRow = _rowCache.GetRow(i); 1631RowInfo currentRow = _rowCache.GetRow(row); 1644if (row == _rowCache.RowCount -1 && !_pageCache.DynamicPageSizes) 1690_rowCache.RowCount == 0 || 1810if (!_rowCache.HasValidLayout || 2048_rowCache.Scale = scale; 2151_rowCache.RecalcRows(pivotPage, _documentLayout.Columns); 2366double newScale = neededScaleFactor * _rowCache.Scale; 2409double newScale = scaleFactor * _rowCache.Scale; 2501double thumbnailCompensatedExtentHeight = ExtentHeight - VerticalPageSpacing * _rowCache.RowCount; 2502double thumbnailCompensatedViewportHeight = ViewportHeight - VerticalPageSpacing * _rowCache.RowCount; 2537_rowCache.PageCache = _pageCache; 2538_rowCache.RowCacheChanged += new RowCacheChangedEventHandler(OnRowCacheChanged); 2539_rowCache.RowLayoutCompleted += new RowLayoutCompletedEventHandler(OnRowLayoutCompleted); 2897if (_rowCache.HasValidLayout) 2899EnsureFit(_rowCache.GetRowForPageNumber(FirstVisiblePageNumber)); 2950if (_savedPivotRow.FirstPage < _rowCache.RowCount) 2952RowInfo newRow = _rowCache.GetRowForPageNumber(_savedPivotRow.FirstPage); 3027if (args.PivotRowIndex >= _rowCache.RowCount) 3033RowInfo pivotRow = _rowCache.GetRow(args.PivotRowIndex);