13 references to MasterPageNumber
PresentationFramework (12)
MS\Internal\Documents\IFlowDocumentViewer.cs (4)
761
get { return
MasterPageNumber
; }
831
GoToPage(Math.Max(1,
MasterPageNumber
- 2));
839
GoToPage(Math.Min(PageCount,
MasterPageNumber
+ 2));
903
return (viewer.
MasterPageNumber
< viewer.PageCount - 1);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (7)
256
/// <see cref="
MasterPageNumber
"/>
266
/// <see cref="
MasterPageNumber
"/>
523
ShiftPagesByOffset(1 - this.
MasterPageNumber
);
533
ShiftPagesByOffset(this.PageCount - this.
MasterPageNumber
);
547
ShiftPagesByOffset(pageNumber - this.
MasterPageNumber
);
1235
SetValue(CanGoToPreviousPagePropertyKey,
MasterPageNumber
> 1);
1245
canGoToNextPage = (
MasterPageNumber
< _document.DocumentPaginator.PageCount) || !_document.DocumentPaginator.IsPageCountValid;
System\Windows\Controls\SinglePageViewer.cs (1)
619
if (CanGoToPage(pageNumber) && this.
MasterPageNumber
!= pageNumber)
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
1965
PageTextBox.SetPageNumber(
MasterPageNumber
);