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