12 references to PageCount
PresentationFramework (11)
MS\Internal\Documents\IFlowDocumentViewer.cs (4)
769get { return PageCount; } 839GoToPage(Math.Min(PageCount, MasterPageNumber + 2)); 848GoToPage(PageCount); 903return (viewer.MasterPageNumber < viewer.PageCount - 1);
System\Windows\Controls\DocumentViewer.cs (2)
911if (zeroIndexed >= 0 && zeroIndexed < PageCount) 961_documentScrollInfo.MakePageVisible( PageCount - 1 );
System\Windows\Controls\Primitives\DocumentViewerBase.cs (5)
167return (pageNumber > 0 && pageNumber <= this.PageCount) || 168((_document != null) && (pageNumber - 1 == this.PageCount) && !_document.DocumentPaginator.IsPageCountValid); 251/// <see cref="PageCount"/> 261/// <see cref="PageCount"/> 544ShiftPagesByOffset(this.PageCount - this.MasterPageNumber);
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
1924if ((pageNumber > 0) && (pageNumber <= PageCount))