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