6 writes to FirstPage
PresentationFramework (6)
MS\Internal\Documents\RowCache.cs (6)
776
newRow.
FirstPage
= startPage - (newRow.PageCount - 1);
780
newRow.
FirstPage
= startPage;
836
newRow.
FirstPage
= startPage;
930
newRow.
FirstPage
= currentPage;
1015
updatedRow.
FirstPage
= currentRow.FirstPage;
1126
updatedRow.
FirstPage
= oldRow.FirstPage;
27 references to FirstPage
PresentationFramework (27)
MS\Internal\Documents\DocumentGrid.cs (14)
1194
for (int page = currentRow.
FirstPage
; page < currentRow.
FirstPage
+ currentRow.PageCount; page++)
1399
_firstVisiblePageNumber = firstRow.
FirstPage
;
1401
_lastVisiblePageNumber = lastRow.
FirstPage
+ lastRow.PageCount - 1;
1426
for (int j = currentRow.
FirstPage
; j < currentRow.
FirstPage
+ currentRow.PageCount; j++)
2296
for (int i = row.
FirstPage
; i < row.
FirstPage
+ row.PageCount; i++)
2686
ArgumentOutOfRangeException.ThrowIfLessThan(pageNumber, row.
FirstPage
);
2687
ArgumentOutOfRangeException.ThrowIfGreaterThan(pageNumber, row.
FirstPage
+ row.PageCount);
2695
for (int i = row.
FirstPage
; i < pageNumber; i++)
2891
if (_savedPivotRow.
FirstPage
< _rowCache.RowCount)
2893
RowInfo newRow = _rowCache.GetRowForPageNumber(_savedPivotRow.
FirstPage
);
3009
MakePageVisible(pivotRow.
FirstPage
);
MS\Internal\Documents\RowCache.cs (13)
279
if (pageNumber >= rowInfo.
FirstPage
&&
280
pageNumber < rowInfo.
FirstPage
+ rowInfo.PageCount)
463
for (int j = currentRow.
FirstPage
; j < currentRow.
FirstPage
+ pageCount; j++)
605
return lastRow.
FirstPage
+ lastRow.PageCount - 1;
679
currentPage = newRow.
FirstPage
;
1015
updatedRow.FirstPage = currentRow.
FirstPage
;
1019
for (int i = currentRow.
FirstPage
; i < currentRow.
FirstPage
+ currentRow.PageCount; i++)
1030
currentPage = updatedRow.
FirstPage
+ updatedRow.PageCount;
1122
if (oldRow.
FirstPage
< startPage)
1126
updatedRow.FirstPage = oldRow.
FirstPage
;
1128
for (int i = oldRow.
FirstPage
; i < startPage; i++)