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