1 write to _rowCache
PresentationFramework (1)
MS\Internal\Documents\DocumentGrid.cs (1)
2490_rowCache = new RowCache
40 references to _rowCache
PresentationFramework (40)
MS\Internal\Documents\DocumentGrid.cs (40)
329else if (pageNumber >= _pageCache.PageCount || _rowCache.RowCount == 0) 332if (_pageCache.IsPaginationCompleted && _rowCache.HasValidLayout) 349RowInfo scrolledRow = _rowCache.GetRowForPageNumber(pageNumber); 371if (nextRow < _rowCache.RowCount) 374RowInfo row = _rowCache.GetRow(nextRow); 389if (previousRow >= 0 && previousRow < _rowCache.RowCount) 392RowInfo row = _rowCache.GetRow(previousRow); 531return _rowCache.ExtentWidth; 542return _rowCache.ExtentHeight; 773return _rowCache.Scale; 797return _rowCache.VerticalPageSpacing; 807_rowCache.VerticalPageSpacing = value; 819return _rowCache.HorizontalPageSpacing; 829_rowCache.HorizontalPageSpacing = value; 1126if (_firstVisiblePageNumber < _pageCache.PageCount && _rowCache.HasValidLayout) 1130ApplyViewParameters(_rowCache.GetRowForPageNumber(_firstVisiblePageNumber)); 1191RowInfo currentRow = _rowCache.GetRow(row); 1337if (_rowCache.RowCount == 0) 1356_rowCache.GetVisibleRowIndices(offset, 1398RowInfo firstRow = _rowCache.GetRow(newFirstVisibleRow); 1400RowInfo lastRow = _rowCache.GetRow(newFirstVisibleRow + newVisibleRowCount - 1); 1423RowInfo currentRow = _rowCache.GetRow(i); 1596RowInfo currentRow = _rowCache.GetRow(row); 1609if (row == _rowCache.RowCount - 1 && !_pageCache.DynamicPageSizes) 1654_rowCache.RowCount == 0 || 1768if (!_rowCache.HasValidLayout || 2004_rowCache.Scale = scale; 2107_rowCache.RecalcRows(pivotPage, _documentLayout.Columns); 2321double newScale = neededScaleFactor * _rowCache.Scale; 2363double newScale = scaleFactor * _rowCache.Scale; 2455double thumbnailCompensatedExtentHeight = ExtentHeight - VerticalPageSpacing * _rowCache.RowCount; 2456double thumbnailCompensatedViewportHeight = ViewportHeight - VerticalPageSpacing * _rowCache.RowCount; 2494_rowCache.RowCacheChanged += new RowCacheChangedEventHandler(OnRowCacheChanged); 2495_rowCache.RowLayoutCompleted += new RowLayoutCompletedEventHandler(OnRowLayoutCompleted); 2844if (_rowCache.HasValidLayout) 2846EnsureFit(_rowCache.GetRowForPageNumber(FirstVisiblePageNumber)); 2896if (_savedPivotRow.FirstPage < _rowCache.RowCount) 2898RowInfo newRow = _rowCache.GetRowForPageNumber(_savedPivotRow.FirstPage); 2973if (args.PivotRowIndex >= _rowCache.RowCount) 2979RowInfo pivotRow = _rowCache.GetRow(args.PivotRowIndex);