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