1 write to _rowCache
PresentationFramework (1)
MS\Internal\Documents\DocumentGrid.cs (1)
2490
_rowCache
= new RowCache
40 references to _rowCache
PresentationFramework (40)
MS\Internal\Documents\DocumentGrid.cs (40)
329
else if (pageNumber >= _pageCache.PageCount ||
_rowCache
.RowCount == 0)
332
if (_pageCache.IsPaginationCompleted &&
_rowCache
.HasValidLayout)
349
RowInfo scrolledRow =
_rowCache
.GetRowForPageNumber(pageNumber);
371
if (nextRow <
_rowCache
.RowCount)
374
RowInfo row =
_rowCache
.GetRow(nextRow);
389
if (previousRow >= 0 && previousRow <
_rowCache
.RowCount)
392
RowInfo row =
_rowCache
.GetRow(previousRow);
531
return
_rowCache
.ExtentWidth;
542
return
_rowCache
.ExtentHeight;
773
return
_rowCache
.Scale;
797
return
_rowCache
.VerticalPageSpacing;
807
_rowCache
.VerticalPageSpacing = value;
819
return
_rowCache
.HorizontalPageSpacing;
829
_rowCache
.HorizontalPageSpacing = value;
1126
if (_firstVisiblePageNumber < _pageCache.PageCount &&
_rowCache
.HasValidLayout)
1130
ApplyViewParameters(
_rowCache
.GetRowForPageNumber(_firstVisiblePageNumber));
1191
RowInfo currentRow =
_rowCache
.GetRow(row);
1337
if (
_rowCache
.RowCount == 0)
1356
_rowCache
.GetVisibleRowIndices(offset,
1398
RowInfo firstRow =
_rowCache
.GetRow(newFirstVisibleRow);
1400
RowInfo lastRow =
_rowCache
.GetRow(newFirstVisibleRow + newVisibleRowCount - 1);
1423
RowInfo currentRow =
_rowCache
.GetRow(i);
1596
RowInfo currentRow =
_rowCache
.GetRow(row);
1609
if (row ==
_rowCache
.RowCount - 1 && !_pageCache.DynamicPageSizes)
1654
_rowCache
.RowCount == 0 ||
1768
if (!
_rowCache
.HasValidLayout ||
2004
_rowCache
.Scale = scale;
2107
_rowCache
.RecalcRows(pivotPage, _documentLayout.Columns);
2321
double newScale = neededScaleFactor *
_rowCache
.Scale;
2363
double newScale = scaleFactor *
_rowCache
.Scale;
2455
double thumbnailCompensatedExtentHeight = ExtentHeight - VerticalPageSpacing *
_rowCache
.RowCount;
2456
double thumbnailCompensatedViewportHeight = ViewportHeight - VerticalPageSpacing *
_rowCache
.RowCount;
2494
_rowCache
.RowCacheChanged += new RowCacheChangedEventHandler(OnRowCacheChanged);
2495
_rowCache
.RowLayoutCompleted += new RowLayoutCompletedEventHandler(OnRowLayoutCompleted);
2844
if (
_rowCache
.HasValidLayout)
2846
EnsureFit(
_rowCache
.GetRowForPageNumber(FirstVisiblePageNumber));
2896
if (_savedPivotRow.FirstPage <
_rowCache
.RowCount)
2898
RowInfo newRow =
_rowCache
.GetRowForPageNumber(_savedPivotRow.FirstPage);
2973
if (args.PivotRowIndex >=
_rowCache
.RowCount)
2979
RowInfo pivotRow =
_rowCache
.GetRow(args.PivotRowIndex);