12 references to MasterPageNumber
PresentationFramework (12)
src\Framework\MS\Internal\Documents\IFlowDocumentViewer.cs (4)
765
get { return
MasterPageNumber
; }
835
GoToPage(Math.Max(1,
MasterPageNumber
- 2));
843
GoToPage(Math.Min(PageCount,
MasterPageNumber
+ 2));
907
return (viewer.
MasterPageNumber
< viewer.PageCount - 1);
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (7)
275
/// <see cref="
MasterPageNumber
"/>
285
/// <see cref="
MasterPageNumber
"/>
551
ShiftPagesByOffset(1 - this.
MasterPageNumber
);
561
ShiftPagesByOffset(this.PageCount - this.
MasterPageNumber
);
575
ShiftPagesByOffset(pageNumber - this.
MasterPageNumber
);
1262
SetValue(CanGoToPreviousPagePropertyKey,
MasterPageNumber
> 1);
1272
canGoToNextPage = (
MasterPageNumber
< _document.DocumentPaginator.PageCount) || !_document.DocumentPaginator.IsPageCountValid;
src\Framework\System\Windows\Controls\SinglePageViewer.cs (1)
629
if (CanGoToPage(pageNumber) && this.
MasterPageNumber
!= pageNumber)