1 write to _rowCache
PresentationFramework (1)
MS\Internal\Documents\DocumentGrid.cs (1)
2471_rowCache = new RowCache
40 references to _rowCache
PresentationFramework (40)
MS\Internal\Documents\DocumentGrid.cs (40)
328else if (pageNumber >= _pageCache.PageCount || _rowCache.RowCount == 0) 331if (_pageCache.IsPaginationCompleted && _rowCache.HasValidLayout) 348RowInfo scrolledRow = _rowCache.GetRowForPageNumber(pageNumber); 370if (nextRow < _rowCache.RowCount) 373RowInfo row = _rowCache.GetRow(nextRow); 388if (previousRow >= 0 && previousRow < _rowCache.RowCount) 391RowInfo row = _rowCache.GetRow(previousRow); 530return _rowCache.ExtentWidth; 541return _rowCache.ExtentHeight; 766return _rowCache.Scale; 790return _rowCache.VerticalPageSpacing; 800_rowCache.VerticalPageSpacing = value; 812return _rowCache.HorizontalPageSpacing; 822_rowCache.HorizontalPageSpacing = value; 1116if (_firstVisiblePageNumber < _pageCache.PageCount && _rowCache.HasValidLayout) 1120ApplyViewParameters(_rowCache.GetRowForPageNumber(_firstVisiblePageNumber)); 1181RowInfo currentRow = _rowCache.GetRow(row); 1324if (_rowCache.RowCount == 0) 1343_rowCache.GetVisibleRowIndices(offset, 1385RowInfo firstRow = _rowCache.GetRow(newFirstVisibleRow); 1387RowInfo lastRow = _rowCache.GetRow(newFirstVisibleRow + newVisibleRowCount - 1); 1410RowInfo currentRow = _rowCache.GetRow(i); 1583RowInfo currentRow = _rowCache.GetRow(row); 1596if (row == _rowCache.RowCount - 1 && !_pageCache.DynamicPageSizes) 1641_rowCache.RowCount == 0 || 1755if (!_rowCache.HasValidLayout || 1991_rowCache.Scale = scale; 2094_rowCache.RecalcRows(pivotPage, _documentLayout.Columns); 2302double newScale = neededScaleFactor * _rowCache.Scale; 2344double newScale = scaleFactor * _rowCache.Scale; 2436double thumbnailCompensatedExtentHeight = ExtentHeight - VerticalPageSpacing * _rowCache.RowCount; 2437double thumbnailCompensatedViewportHeight = ViewportHeight - VerticalPageSpacing * _rowCache.RowCount; 2475_rowCache.RowCacheChanged += new RowCacheChangedEventHandler(OnRowCacheChanged); 2476_rowCache.RowLayoutCompleted += new RowLayoutCompletedEventHandler(OnRowLayoutCompleted); 2819if (_rowCache.HasValidLayout) 2821EnsureFit(_rowCache.GetRowForPageNumber(FirstVisiblePageNumber)); 2871if (_savedPivotRow.FirstPage < _rowCache.RowCount) 2873RowInfo newRow = _rowCache.GetRowForPageNumber(_savedPivotRow.FirstPage); 2948if (args.PivotRowIndex >= _rowCache.RowCount) 2954RowInfo pivotRow = _rowCache.GetRow(args.PivotRowIndex);