21 references to PageCount
PresentationFramework (21)
MS\Internal\Documents\DocumentGrid.cs (8)
1193
for (int page = currentRow.FirstPage; page < currentRow.FirstPage + currentRow.
PageCount
; page++)
1400
_lastVisiblePageNumber = lastRow.FirstPage + lastRow.
PageCount
- 1;
1425
for (int j = currentRow.FirstPage; j < currentRow.FirstPage + currentRow.
PageCount
; j++)
2292
for (int i = row.FirstPage; i < row.FirstPage + row.
PageCount
; i++)
2348
_maxPagesAcross = pivotRow.
PageCount
;
2378
rowWidth = pivotRow.RowSize.Width - pivotRow.
PageCount
* HorizontalPageSpacing;
2400
compensatedViewportWidth = ViewportWidth - pivotRow.
PageCount
* HorizontalPageSpacing;
2679
ArgumentOutOfRangeException.ThrowIfGreaterThan(pageNumber, row.FirstPage + row.
PageCount
);
MS\Internal\Documents\RowCache.cs (13)
279
pageNumber < rowInfo.FirstPage + rowInfo.
PageCount
)
455
int pageCount = currentRow.
PageCount
;
604
return lastRow.FirstPage + lastRow.
PageCount
- 1;
702
currentPage += newRow.
PageCount
;
743
pageSize = GetScaledPageSize(startPage + newRow.
PageCount
);
746
if (startPage + newRow.
PageCount
>= PageCache.PageCount ||
755
pageSize = GetScaledPageSize(startPage - newRow.
PageCount
);
758
if (startPage - newRow.
PageCount
< 0 ||
767
if (newRow.
PageCount
== DocumentViewerConstants.MaximumMaxPagesAcross)
775
newRow.FirstPage = startPage - (newRow.
PageCount
- 1);
1024
for (int i = currentRow.FirstPage; i < currentRow.FirstPage + currentRow.
PageCount
; i++)
1035
currentPage = updatedRow.FirstPage + updatedRow.
PageCount
;
1268
if (_rowCache.Count == 0 || _rowCache[0].
PageCount
< _layoutColumns)