12 references to PageCount
PresentationFramework (11)
MS\Internal\Documents\IFlowDocumentViewer.cs (4)
757get { return PageCount; } 827GoToPage(Math.Min(PageCount, MasterPageNumber + 2)); 836GoToPage(PageCount); 891return (viewer.MasterPageNumber < viewer.PageCount - 1);
System\Windows\Controls\DocumentViewer.cs (2)
908if (zeroIndexed >= 0 && zeroIndexed < PageCount) 947_documentScrollInfo?.MakePageVisible( PageCount - 1 );
System\Windows\Controls\Primitives\DocumentViewerBase.cs (5)
156return (pageNumber > 0 && pageNumber <= this.PageCount) || 157((_document != null) && (pageNumber - 1 == this.PageCount) && !_document.DocumentPaginator.IsPageCountValid); 240/// <see cref="PageCount"/> 250/// <see cref="PageCount"/> 533ShiftPagesByOffset(this.PageCount - this.MasterPageNumber);
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
1930if ((pageNumber > 0) && (pageNumber <= PageCount))