11 references to PageCount
PresentationFramework (11)
src\Framework\MS\Internal\Documents\IFlowDocumentViewer.cs (4)
773
get { return
PageCount
; }
843
GoToPage(Math.Min(
PageCount
, MasterPageNumber + 2));
852
GoToPage(
PageCount
);
907
return (viewer.MasterPageNumber < viewer.
PageCount
- 1);
src\Framework\System\Windows\Controls\DocumentViewer.cs (2)
943
if (zeroIndexed >= 0 && zeroIndexed <
PageCount
)
993
_documentScrollInfo.MakePageVisible(
PageCount
- 1 );
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (5)
175
return (pageNumber > 0 && pageNumber <= this.
PageCount
) ||
176
((_document != null) && (pageNumber - 1 == this.
PageCount
) && !_document.DocumentPaginator.IsPageCountValid);
259
/// <see cref="
PageCount
"/>
269
/// <see cref="
PageCount
"/>
561
ShiftPagesByOffset(this.
PageCount
- this.MasterPageNumber);