12 references to PageCount
PresentationFramework (11)
MS\Internal\Documents\IFlowDocumentViewer.cs (4)
772get { return PageCount; } 842GoToPage(Math.Min(PageCount, MasterPageNumber + 2)); 851GoToPage(PageCount); 906return (viewer.MasterPageNumber < viewer.PageCount - 1);
System\Windows\Controls\DocumentViewer.cs (2)
923if (zeroIndexed >= 0 && zeroIndexed < PageCount) 973_documentScrollInfo.MakePageVisible( PageCount - 1 );
System\Windows\Controls\Primitives\DocumentViewerBase.cs (5)
172return (pageNumber > 0 && pageNumber <= this.PageCount) || 173((_document != null) && (pageNumber - 1 == this.PageCount) && !_document.DocumentPaginator.IsPageCountValid); 256/// <see cref="PageCount"/> 266/// <see cref="PageCount"/> 549ShiftPagesByOffset(this.PageCount - this.MasterPageNumber);
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
1933if ((pageNumber > 0) && (pageNumber <= PageCount))