1 write to _rowCache
PresentationFramework (1)
MS\Internal\Documents\DocumentGrid.cs (1)
2494_rowCache = new RowCache();
41 references to _rowCache
PresentationFramework (41)
MS\Internal\Documents\DocumentGrid.cs (41)
336else if (pageNumber >= _pageCache.PageCount || _rowCache.RowCount == 0) 339if (_pageCache.IsPaginationCompleted && _rowCache.HasValidLayout) 356RowInfo scrolledRow = _rowCache.GetRowForPageNumber(pageNumber); 378if (nextRow < _rowCache.RowCount) 381RowInfo row = _rowCache.GetRow(nextRow); 396if (previousRow >= 0 && previousRow < _rowCache.RowCount) 399RowInfo row = _rowCache.GetRow(previousRow); 538return _rowCache.ExtentWidth; 549return _rowCache.ExtentHeight; 780return _rowCache.Scale; 804return _rowCache.VerticalPageSpacing; 814_rowCache.VerticalPageSpacing = value; 826return _rowCache.HorizontalPageSpacing; 836_rowCache.HorizontalPageSpacing = value; 1133if (_firstVisiblePageNumber < _pageCache.PageCount && _rowCache.HasValidLayout) 1137ApplyViewParameters(_rowCache.GetRowForPageNumber(_firstVisiblePageNumber)); 1198RowInfo currentRow = _rowCache.GetRow(row); 1344if (_rowCache.RowCount == 0) 1363_rowCache.GetVisibleRowIndices(offset, 1405RowInfo firstRow = _rowCache.GetRow(newFirstVisibleRow); 1407RowInfo lastRow = _rowCache.GetRow(newFirstVisibleRow + newVisibleRowCount - 1); 1430RowInfo currentRow = _rowCache.GetRow(i); 1601RowInfo currentRow = _rowCache.GetRow(row); 1614if (row == _rowCache.RowCount - 1 && !_pageCache.DynamicPageSizes) 1659_rowCache.RowCount == 0 || 1772if (!_rowCache.HasValidLayout || 2008_rowCache.Scale = scale; 2111_rowCache.RecalcRows(pivotPage, _documentLayout.Columns); 2325double newScale = neededScaleFactor * _rowCache.Scale; 2367double newScale = scaleFactor * _rowCache.Scale; 2459double thumbnailCompensatedExtentHeight = ExtentHeight - VerticalPageSpacing * _rowCache.RowCount; 2460double thumbnailCompensatedViewportHeight = ViewportHeight - VerticalPageSpacing * _rowCache.RowCount; 2495_rowCache.PageCache = _pageCache; 2496_rowCache.RowCacheChanged += new RowCacheChangedEventHandler(OnRowCacheChanged); 2497_rowCache.RowLayoutCompleted += new RowLayoutCompletedEventHandler(OnRowLayoutCompleted); 2846if (_rowCache.HasValidLayout) 2848EnsureFit(_rowCache.GetRowForPageNumber(FirstVisiblePageNumber)); 2898if (_savedPivotRow.FirstPage < _rowCache.RowCount) 2900RowInfo newRow = _rowCache.GetRowForPageNumber(_savedPivotRow.FirstPage); 2975if (args.PivotRowIndex >= _rowCache.RowCount) 2981RowInfo pivotRow = _rowCache.GetRow(args.PivotRowIndex);