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