13 references to MasterPageNumber
PresentationFramework (12)
MS\Internal\Documents\IFlowDocumentViewer.cs (4)
764
get { return
MasterPageNumber
; }
834
GoToPage(Math.Max(1,
MasterPageNumber
- 2));
842
GoToPage(Math.Min(PageCount,
MasterPageNumber
+ 2));
906
return (viewer.
MasterPageNumber
< viewer.PageCount - 1);
System\Windows\Controls\Primitives\DocumentViewerBase.cs (7)
272
/// <see cref="
MasterPageNumber
"/>
282
/// <see cref="
MasterPageNumber
"/>
539
ShiftPagesByOffset(1 - this.
MasterPageNumber
);
549
ShiftPagesByOffset(this.PageCount - this.
MasterPageNumber
);
563
ShiftPagesByOffset(pageNumber - this.
MasterPageNumber
);
1250
SetValue(CanGoToPreviousPagePropertyKey,
MasterPageNumber
> 1);
1260
canGoToNextPage = (
MasterPageNumber
< _document.DocumentPaginator.PageCount) || !_document.DocumentPaginator.IsPageCountValid;
System\Windows\Controls\SinglePageViewer.cs (1)
622
if (CanGoToPage(pageNumber) && this.
MasterPageNumber
!= pageNumber)
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
1963
PageTextBox.SetPageNumber(
MasterPageNumber
);