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