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