1 write to _rowCache
PresentationFramework (1)
MS\Internal\Documents\DocumentGrid.cs (1)
2477
_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);
1330
if (
_rowCache
.RowCount == 0)
1349
_rowCache
.GetVisibleRowIndices(offset,
1391
RowInfo firstRow =
_rowCache
.GetRow(newFirstVisibleRow);
1393
RowInfo lastRow =
_rowCache
.GetRow(newFirstVisibleRow + newVisibleRowCount - 1);
1416
RowInfo currentRow =
_rowCache
.GetRow(i);
1589
RowInfo currentRow =
_rowCache
.GetRow(row);
1602
if (row ==
_rowCache
.RowCount - 1 && !_pageCache.DynamicPageSizes)
1647
_rowCache
.RowCount == 0 ||
1761
if (!
_rowCache
.HasValidLayout ||
1997
_rowCache
.Scale = scale;
2100
_rowCache
.RecalcRows(pivotPage, _documentLayout.Columns);
2308
double newScale = neededScaleFactor *
_rowCache
.Scale;
2350
double newScale = scaleFactor *
_rowCache
.Scale;
2442
double thumbnailCompensatedExtentHeight = ExtentHeight - VerticalPageSpacing *
_rowCache
.RowCount;
2443
double thumbnailCompensatedViewportHeight = ViewportHeight - VerticalPageSpacing *
_rowCache
.RowCount;
2481
_rowCache
.RowCacheChanged += new RowCacheChangedEventHandler(OnRowCacheChanged);
2482
_rowCache
.RowLayoutCompleted += new RowLayoutCompletedEventHandler(OnRowLayoutCompleted);
2825
if (
_rowCache
.HasValidLayout)
2827
EnsureFit(
_rowCache
.GetRowForPageNumber(FirstVisiblePageNumber));
2877
if (_savedPivotRow.FirstPage <
_rowCache
.RowCount)
2879
RowInfo newRow =
_rowCache
.GetRowForPageNumber(_savedPivotRow.FirstPage);
2954
if (args.PivotRowIndex >=
_rowCache
.RowCount)
2960
RowInfo pivotRow =
_rowCache
.GetRow(args.PivotRowIndex);