21 references to PageCount
PresentationFramework (21)
MS\Internal\Documents\DocumentGrid.cs (8)
1194for (int page = currentRow.FirstPage; page < currentRow.FirstPage + currentRow.PageCount; page++) 1401_lastVisiblePageNumber = lastRow.FirstPage + lastRow.PageCount - 1; 1426for (int j = currentRow.FirstPage; j < currentRow.FirstPage + currentRow.PageCount; j++) 2296for (int i = row.FirstPage; i < row.FirstPage + row.PageCount; i++) 2352_maxPagesAcross = pivotRow.PageCount; 2382rowWidth = pivotRow.RowSize.Width - pivotRow.PageCount * HorizontalPageSpacing; 2404compensatedViewportWidth = ViewportWidth - pivotRow.PageCount * HorizontalPageSpacing; 2687ArgumentOutOfRangeException.ThrowIfGreaterThan(pageNumber, row.FirstPage + row.PageCount);
MS\Internal\Documents\RowCache.cs (13)
280pageNumber < rowInfo.FirstPage + rowInfo.PageCount) 456int pageCount = currentRow.PageCount; 605return lastRow.FirstPage + lastRow.PageCount - 1; 703currentPage += newRow.PageCount; 744pageSize = GetScaledPageSize(startPage + newRow.PageCount); 747if (startPage + newRow.PageCount >= PageCache.PageCount || 756pageSize = GetScaledPageSize(startPage - newRow.PageCount); 759if (startPage - newRow.PageCount < 0 || 768if (newRow.PageCount == DocumentViewerConstants.MaximumMaxPagesAcross) 776newRow.FirstPage = startPage - (newRow.PageCount - 1); 1019for (int i = currentRow.FirstPage; i < currentRow.FirstPage + currentRow.PageCount; i++) 1030currentPage = updatedRow.FirstPage + updatedRow.PageCount; 1261if (_rowCache.Count == 0 || _rowCache[0].PageCount < _layoutColumns)