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