1 write to _rowCache
PresentationFramework (1)
MS\Internal\Documents\DocumentGrid.cs (1)
2480_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; 772return _rowCache.Scale; 796return _rowCache.VerticalPageSpacing; 806_rowCache.VerticalPageSpacing = value; 818return _rowCache.HorizontalPageSpacing; 828_rowCache.HorizontalPageSpacing = value; 1122if (_firstVisiblePageNumber < _pageCache.PageCount && _rowCache.HasValidLayout) 1126ApplyViewParameters(_rowCache.GetRowForPageNumber(_firstVisiblePageNumber)); 1187RowInfo currentRow = _rowCache.GetRow(row); 1333if (_rowCache.RowCount == 0) 1352_rowCache.GetVisibleRowIndices(offset, 1394RowInfo firstRow = _rowCache.GetRow(newFirstVisibleRow); 1396RowInfo lastRow = _rowCache.GetRow(newFirstVisibleRow + newVisibleRowCount - 1); 1419RowInfo currentRow = _rowCache.GetRow(i); 1592RowInfo currentRow = _rowCache.GetRow(row); 1605if (row == _rowCache.RowCount - 1 && !_pageCache.DynamicPageSizes) 1650_rowCache.RowCount == 0 || 1764if (!_rowCache.HasValidLayout || 2000_rowCache.Scale = scale; 2103_rowCache.RecalcRows(pivotPage, _documentLayout.Columns); 2311double newScale = neededScaleFactor * _rowCache.Scale; 2353double newScale = scaleFactor * _rowCache.Scale; 2445double thumbnailCompensatedExtentHeight = ExtentHeight - VerticalPageSpacing * _rowCache.RowCount; 2446double thumbnailCompensatedViewportHeight = ViewportHeight - VerticalPageSpacing * _rowCache.RowCount; 2484_rowCache.RowCacheChanged += new RowCacheChangedEventHandler(OnRowCacheChanged); 2485_rowCache.RowLayoutCompleted += new RowLayoutCompletedEventHandler(OnRowLayoutCompleted); 2828if (_rowCache.HasValidLayout) 2830EnsureFit(_rowCache.GetRowForPageNumber(FirstVisiblePageNumber)); 2880if (_savedPivotRow.FirstPage < _rowCache.RowCount) 2882RowInfo newRow = _rowCache.GetRowForPageNumber(_savedPivotRow.FirstPage); 2957if (args.PivotRowIndex >= _rowCache.RowCount) 2963RowInfo pivotRow = _rowCache.GetRow(args.PivotRowIndex);