21 references to PageCount
PresentationFramework (21)
src\Framework\MS\Internal\Documents\DocumentGrid.cs (8)
1225
for (int page = currentRow.FirstPage; page < currentRow.FirstPage + currentRow.
PageCount
; page++)
1436
_lastVisiblePageNumber = lastRow.FirstPage + lastRow.
PageCount
- 1;
1462
for (int j = currentRow.FirstPage; j < currentRow.FirstPage + currentRow.
PageCount
; j++)
2344
for (int i = row.FirstPage; i < row.FirstPage + row.
PageCount
; i++)
2401
_maxPagesAcross = pivotRow.
PageCount
;
2431
rowWidth = pivotRow.RowSize.Width - pivotRow.
PageCount
* HorizontalPageSpacing;
2453
compensatedViewportWidth = ViewportWidth - pivotRow.
PageCount
* HorizontalPageSpacing;
2741
pageNumber > row.FirstPage + row.
PageCount
)
src\Framework\MS\Internal\Documents\RowCache.cs (13)
299
pageNumber < rowInfo.FirstPage + rowInfo.
PageCount
)
480
int pageCount = currentRow.
PageCount
;
635
return lastRow.FirstPage + lastRow.
PageCount
- 1;
738
currentPage += newRow.
PageCount
;
782
pageSize = GetScaledPageSize(startPage + newRow.
PageCount
);
785
if (startPage + newRow.
PageCount
>= PageCache.PageCount ||
794
pageSize = GetScaledPageSize( startPage - newRow.
PageCount
);
797
if( startPage - newRow.
PageCount
< 0 ||
806
if (newRow.
PageCount
== DocumentViewerConstants.MaximumMaxPagesAcross)
814
newRow.FirstPage = startPage - (newRow.
PageCount
- 1);
1069
for (int i = currentRow.FirstPage; i < currentRow.FirstPage + currentRow.
PageCount
; i++)
1080
currentPage = updatedRow.FirstPage + updatedRow.
PageCount
;
1311
if (_rowCache.Count == 0 || _rowCache[0].
PageCount
< _layoutColumns )