21 references to PageCount
PresentationFramework (21)
MS\Internal\Documents\DocumentGrid.cs (8)
1201
for (int page = currentRow.FirstPage; page < currentRow.FirstPage + currentRow.
PageCount
; page++)
1408
_lastVisiblePageNumber = lastRow.FirstPage + lastRow.
PageCount
- 1;
1433
for (int j = currentRow.FirstPage; j < currentRow.FirstPage + currentRow.
PageCount
; j++)
2303
for (int i = row.FirstPage; i < row.FirstPage + row.
PageCount
; i++)
2359
_maxPagesAcross = pivotRow.
PageCount
;
2389
rowWidth = pivotRow.RowSize.Width - pivotRow.
PageCount
* HorizontalPageSpacing;
2411
compensatedViewportWidth = ViewportWidth - pivotRow.
PageCount
* HorizontalPageSpacing;
2694
ArgumentOutOfRangeException.ThrowIfGreaterThan(pageNumber, row.FirstPage + row.
PageCount
);
MS\Internal\Documents\RowCache.cs (13)
285
pageNumber < rowInfo.FirstPage + rowInfo.
PageCount
)
461
int pageCount = currentRow.
PageCount
;
610
return lastRow.FirstPage + lastRow.
PageCount
- 1;
708
currentPage += newRow.
PageCount
;
749
pageSize = GetScaledPageSize(startPage + newRow.
PageCount
);
752
if (startPage + newRow.
PageCount
>= PageCache.PageCount ||
761
pageSize = GetScaledPageSize(startPage - newRow.
PageCount
);
764
if (startPage - newRow.
PageCount
< 0 ||
773
if (newRow.
PageCount
== DocumentViewerConstants.MaximumMaxPagesAcross)
781
newRow.FirstPage = startPage - (newRow.
PageCount
- 1);
1024
for (int i = currentRow.FirstPage; i < currentRow.FirstPage + currentRow.
PageCount
; i++)
1035
currentPage = updatedRow.FirstPage + updatedRow.
PageCount
;
1266
if (_rowCache.Count == 0 || _rowCache[0].
PageCount
< _layoutColumns)