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