5 types derived from DocumentPage
PresentationCore (1)
Core\CSharp\System\Windows\Documents\DocumentPage.cs (1)
264private sealed class MissingDocumentPage : DocumentPage
PresentationFramework (4)
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (1)
35internal sealed class FlowDocumentPage : DocumentPage, IServiceProvider, IDisposable, IContentHost
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
441private class AnnotatedDocumentPage : DocumentPage, IContentHost
src\Framework\System\Windows\Documents\DocumentSequence.cs (1)
1082internal sealed class FixedDocumentSequenceDocumentPage : DocumentPage, IServiceProvider
src\Framework\System\Windows\Documents\FixedDocument.cs (1)
1389internal sealed class FixedDocumentPage : DocumentPage, IServiceProvider
96 references to DocumentPage
PresentationCore (7)
Core\CSharp\System\Windows\Documents\DocumentPage.cs (1)
148public static readonly DocumentPage Missing = new MissingDocumentPage();
Core\CSharp\System\Windows\Documents\DocumentPaginator.cs (2)
52public abstract DocumentPage GetPage(int pageNumber); 76DocumentPage page;
Core\CSharp\System\Windows\Documents\DynamicDocumentPaginator.cs (1)
98public abstract ContentPosition GetPagePosition(DocumentPage page);
Core\CSharp\System\Windows\Documents\GetPageCompletedEventArgs.cs (3)
36public GetPageCompletedEventArgs(DocumentPage page, int pageNumber, Exception error, bool cancelled, object userState) 47public DocumentPage DocumentPage 73private readonly DocumentPage _page;
PresentationFramework (89)
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (7)
277DocumentPage docPage = null; 416private DocumentPage GetDocumentPage(FixedPage page) 420DocumentPage docPage = null; 560private static ITextPointer FindStartVisibleTextPointer(DocumentPage documentPage) 585private static ITextPointer FindEndVisibleTextPointer(DocumentPage documentPage) 611private static bool GetTextViewRange(DocumentPage documentPage, out ITextPointer start, out ITextPointer end) 617Invariant.Assert(documentPage != DocumentPage.Missing);
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (2)
422DocumentPage docPage = idp.DocumentPaginator.GetPage(pageNumber); 501DocumentPage docPage = idp.DocumentPaginator.GetPage(pageNumber);
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
89internal DocumentPage GetDocumentPageFromPoint(Point point)
src\Framework\MS\Internal\Documents\DocumentGridPage.cs (2)
79public DocumentPage DocumentPage 374e.DocumentPage != DocumentPage.Missing)
src\Framework\MS\Internal\Documents\DocumentPageTextView.cs (2)
689get { return (_page == DocumentPage.Missing); } 715private DocumentPage _page;
src\Framework\MS\Internal\Documents\FixedDocumentPaginator.cs (2)
60public override DocumentPage GetPage(int pageNumber) 92public override ContentPosition GetPagePosition(DocumentPage page)
src\Framework\MS\Internal\Documents\FixedDocumentSequencePaginator.cs (2)
60public override DocumentPage GetPage(int pageNumber) 92public override ContentPosition GetPagePosition(DocumentPage page)
src\Framework\MS\Internal\Documents\FlowDocumentPaginator.cs (10)
96DocumentPage page = null; 108page = DocumentPage.Missing; 144public override DocumentPage GetPage(int pageNumber) 146DocumentPage page; 179page = DocumentPage.Missing; 358public override ContentPosition GetPagePosition(DocumentPage page) 721private DocumentPage FormatPagesTill(int pageNumber) 737return DocumentPage.Missing; 748private DocumentPage FormatPage(int pageNumber) 1011DocumentPage page = Paginator.FormatPage(PageNumber);
src\Framework\MS\Internal\Documents\PageCache.cs (7)
574if (!args.Cancelled && args.Error == null && args.DocumentPage != DocumentPage.Missing) 617if (!args.Cancelled && args.Error == null && args.DocumentPage != DocumentPage.Missing ) 970public void AddPage(DocumentPage page) 987public void RemovePage(DocumentPage page) 1001public bool IsDestroyed(DocumentPage page) 1021DocumentPage page = sender as DocumentPage;
src\Framework\MS\Internal\LayoutDump.cs (4)
177internal delegate void DumpCustomDocumentPage(XmlTextWriter writer, DocumentPage page); 299internal static void DumpDocumentPage(XmlTextWriter writer, DocumentPage page, Visual parent) 304if (page != DocumentPage.Missing) 581private static void DumpFlowDocumentPage(XmlTextWriter writer, DocumentPage page)
src\Framework\MS\Internal\PtsHost\BreakRecordTable.cs (1)
261Invariant.Assert(page != null && page != DocumentPage.Missing, "Cannot update BRT with an invalid document page.");
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (8)
182public override DocumentPage GetPage(int pageNumber) 184DocumentPage documentPage = _originalPaginator.GetPage(pageNumber); 186if (documentPage != DocumentPage.Missing) 261if (!e.Cancelled && e.Error == null && e.DocumentPage != DocumentPage.Missing) 265DocumentPage documentPage = ComposePageWithAnnotationVisuals(e.PageNumber, e.DocumentPage); 304private DocumentPage ComposePageWithAnnotationVisuals(int pageNumber, DocumentPage page) 447public AnnotatedDocumentPage(DocumentPage basePage, Visual visual, Size pageSize, Rect bleedBox, Rect contentBox)
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (15)
110public DocumentPage DocumentPage 112get { return (_documentPage == null) ? DocumentPage.Missing : _documentPage; } 282_documentPageAsync = DocumentPage.Missing; 288_documentPage = DocumentPage.Missing; 303_documentPageAsync = DocumentPage.Missing; 312if (_documentPage != DocumentPage.Missing) 325if (_documentPage != null && _documentPage != DocumentPage.Missing) 679internal DocumentPage DocumentPageInternal 732if (_documentPageAsync != null && _documentPageAsync != DocumentPage.Missing) 739_documentPageAsync = DocumentPage.Missing; 741if (_documentPageAsync != DocumentPage.Missing) 849if (_documentPage != DocumentPage.Missing) 871if (_documentPageAsync != DocumentPage.Missing) 1012private DocumentPage _documentPage; 1013private DocumentPage _documentPageAsync;
src\Framework\System\Windows\Documents\DocumentSequence.cs (15)
254internal DocumentPage GetPage(int pageNumber) 267DocumentPage innerDP = null; 279return DocumentPage.Missing; 285internal DocumentPage GetPage(FixedDocument document, int fixedDocPageNumber) 297DocumentPage innerDP = document.GetPage(fixedDocPageNumber); 422internal ContentPosition GetPagePosition(DocumentPage page) 724DocumentPage docPage = GetPage(0); 894_NotifyGetPageAsyncCompleted(DocumentPage.Missing, pageNumber, null, true, asyncRequest.UserState); 921DocumentPage sdp = DocumentPage.Missing; 923if (!args.Cancelled && (args.Error == null) && (args.DocumentPage != DocumentPage.Missing)) 961private void _NotifyGetPageAsyncCompleted(DocumentPage page, int pageNumber, Exception error, bool cancelled, object userState) 1091internal FixedDocumentSequenceDocumentPage(FixedDocumentSequence documentSequence, DynamicDocumentPaginator documentPaginator, DocumentPage documentPage) 1212internal DocumentPage ChildDocumentPage 1265private readonly DocumentPage _documentPage;
src\Framework\System\Windows\Documents\FixedDocument.cs (10)
338internal DocumentPage GetPage(int pageNumber) 360return DocumentPage.Missing; 375return DocumentPage.Missing; 414_NotifyGetPageAsyncCompleted(DocumentPage.Missing, pageNumber, null, false, userState); 545internal ContentPosition GetPagePosition(DocumentPage page) 888DocumentPage docPage = GetPage(0); 1063if (fdp != null && fdp != DocumentPage.Missing) 1275DocumentPage result = DocumentPage.Missing; 1305private void _NotifyGetPageAsyncCompleted(DocumentPage page, int pageNumber, Exception error, bool cancelled, object userState)
src\Framework\System\Windows\Documents\RubberbandSelector.cs (1)
678DocumentPage dp = mpScope.GetDocumentPageFromPoint(pt);