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