21 references to PageCount
PresentationFramework (21)
MS\Internal\Documents\DocumentGrid.cs (8)
1194
for (int page = currentRow.FirstPage; page < currentRow.FirstPage + currentRow.
PageCount
; page++)
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++)
2352
_maxPagesAcross = pivotRow.
PageCount
;
2382
rowWidth = pivotRow.RowSize.Width - pivotRow.
PageCount
* HorizontalPageSpacing;
2404
compensatedViewportWidth = ViewportWidth - pivotRow.
PageCount
* HorizontalPageSpacing;
2687
ArgumentOutOfRangeException.ThrowIfGreaterThan(pageNumber, row.FirstPage + row.
PageCount
);
MS\Internal\Documents\RowCache.cs (13)
280
pageNumber < rowInfo.FirstPage + rowInfo.
PageCount
)
456
int pageCount = currentRow.
PageCount
;
605
return lastRow.FirstPage + lastRow.
PageCount
- 1;
703
currentPage += newRow.
PageCount
;
744
pageSize = GetScaledPageSize(startPage + newRow.
PageCount
);
747
if (startPage + newRow.
PageCount
>= PageCache.PageCount ||
756
pageSize = GetScaledPageSize(startPage - newRow.
PageCount
);
759
if (startPage - newRow.
PageCount
< 0 ||
768
if (newRow.
PageCount
== DocumentViewerConstants.MaximumMaxPagesAcross)
776
newRow.FirstPage = startPage - (newRow.
PageCount
- 1);
1019
for (int i = currentRow.FirstPage; i < currentRow.FirstPage + currentRow.
PageCount
; i++)
1030
currentPage = updatedRow.FirstPage + updatedRow.
PageCount
;
1261
if (_rowCache.Count == 0 || _rowCache[0].
PageCount
< _layoutColumns)