5 types derived from DocumentPage
PresentationCore (1)
System\Windows\Documents\DocumentPage.cs (1)
260private sealed class MissingDocumentPage : DocumentPage
PresentationFramework (4)
MS\Internal\PtsHost\FlowDocumentPage.cs (1)
25internal sealed class FlowDocumentPage : DocumentPage, IServiceProvider, IDisposable, IContentHost
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
425private class AnnotatedDocumentPage : DocumentPage, IContentHost
System\Windows\Documents\DocumentSequence.cs (1)
1052internal sealed class FixedDocumentSequenceDocumentPage : DocumentPage, IServiceProvider
System\Windows\Documents\FixedDocument.cs (1)
1339internal sealed class FixedDocumentPage : DocumentPage, IServiceProvider
1 instantiation of DocumentPage
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
2538page = new DocumentPage(canvas, size, bleedBox, contentBox);
128 references to DocumentPage
PresentationCore (7)
System\Windows\Documents\DocumentPage.cs (1)
144public static readonly DocumentPage Missing = new MissingDocumentPage();
System\Windows\Documents\DocumentPaginator.cs (2)
49public abstract DocumentPage GetPage(int pageNumber); 73DocumentPage page;
System\Windows\Documents\DynamicDocumentPaginator.cs (1)
92public abstract ContentPosition GetPagePosition(DocumentPage page);
System\Windows\Documents\GetPageCompletedEventArgs.cs (3)
34public GetPageCompletedEventArgs(DocumentPage page, int pageNumber, Exception error, bool cancelled, object userState) 45public DocumentPage DocumentPage 71private readonly DocumentPage _page;
PresentationFramework (89)
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (7)
257DocumentPage docPage = null; 395private DocumentPage GetDocumentPage(FixedPage page) 399DocumentPage docPage = null; 535private static ITextPointer FindStartVisibleTextPointer(DocumentPage documentPage) 559private static ITextPointer FindEndVisibleTextPointer(DocumentPage documentPage) 584private static bool GetTextViewRange(DocumentPage documentPage, out ITextPointer start, out ITextPointer end) 590Invariant.Assert(documentPage != DocumentPage.Missing);
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (2)
403DocumentPage docPage = idp.DocumentPaginator.GetPage(pageNumber); 482DocumentPage docPage = idp.DocumentPaginator.GetPage(pageNumber);
MS\Internal\Documents\DocumentGrid.cs (1)
75internal DocumentPage GetDocumentPageFromPoint(Point point)
MS\Internal\Documents\DocumentGridPage.cs (2)
61public DocumentPage DocumentPage 311e.DocumentPage != DocumentPage.Missing)
MS\Internal\Documents\DocumentPageTextView.cs (2)
685get { return (_page == DocumentPage.Missing); } 711private DocumentPage _page;
MS\Internal\Documents\FixedDocumentPaginator.cs (2)
52public override DocumentPage GetPage(int pageNumber) 84public override ContentPosition GetPagePosition(DocumentPage page)
MS\Internal\Documents\FixedDocumentSequencePaginator.cs (2)
52public override DocumentPage GetPage(int pageNumber) 84public override ContentPosition GetPagePosition(DocumentPage page)
MS\Internal\Documents\FlowDocumentPaginator.cs (10)
87DocumentPage page = null; 99page = DocumentPage.Missing; 135public override DocumentPage GetPage(int pageNumber) 137DocumentPage page; 170page = DocumentPage.Missing; 343public override ContentPosition GetPagePosition(DocumentPage page) 700private DocumentPage FormatPagesTill(int pageNumber) 716return DocumentPage.Missing; 727private DocumentPage FormatPage(int pageNumber) 990DocumentPage page = Paginator.FormatPage(PageNumber);
MS\Internal\Documents\PageCache.cs (7)
562if (!args.Cancelled && args.Error == null && args.DocumentPage != DocumentPage.Missing) 605if (!args.Cancelled && args.Error == null && args.DocumentPage != DocumentPage.Missing) 936public void AddPage(DocumentPage page) 953public void RemovePage(DocumentPage page) 967public bool IsDestroyed(DocumentPage page) 987DocumentPage page = sender as DocumentPage;
MS\Internal\LayoutDump.cs (4)
172internal delegate void DumpCustomDocumentPage(XmlTextWriter writer, DocumentPage page); 294internal static void DumpDocumentPage(XmlTextWriter writer, DocumentPage page, Visual parent) 299if (page != DocumentPage.Missing) 575private static void DumpFlowDocumentPage(XmlTextWriter writer, DocumentPage page)
MS\Internal\PtsHost\BreakRecordTable.cs (1)
257Invariant.Assert(page != null && page != DocumentPage.Missing, "Cannot update BRT with an invalid document page.");
System\Windows\Annotations\AnnotationDocumentPaginator.cs (8)
167public override DocumentPage GetPage(int pageNumber) 169DocumentPage documentPage = _originalPaginator.GetPage(pageNumber); 171if (documentPage != DocumentPage.Missing) 246if (!e.Cancelled && e.Error == null && e.DocumentPage != DocumentPage.Missing) 250DocumentPage documentPage = ComposePageWithAnnotationVisuals(e.PageNumber, e.DocumentPage); 289private DocumentPage ComposePageWithAnnotationVisuals(int pageNumber, DocumentPage page) 431public AnnotatedDocumentPage(DocumentPage basePage, Visual visual, Size pageSize, Rect bleedBox, Rect contentBox)
System\Windows\Controls\Primitives\DocumentPageView.cs (15)
104public DocumentPage DocumentPage 106get { return (_documentPage == null) ? DocumentPage.Missing : _documentPage; } 276_documentPageAsync = DocumentPage.Missing; 282_documentPage = DocumentPage.Missing; 297_documentPageAsync = DocumentPage.Missing; 306if (_documentPage != DocumentPage.Missing) 319if (_documentPage != null && _documentPage != DocumentPage.Missing) 669internal DocumentPage DocumentPageInternal 722if (_documentPageAsync != null && _documentPageAsync != DocumentPage.Missing) 729_documentPageAsync = DocumentPage.Missing; 731if (_documentPageAsync != DocumentPage.Missing) 839if (_documentPage != DocumentPage.Missing) 861if (_documentPageAsync != DocumentPage.Missing) 998private DocumentPage _documentPage; 999private DocumentPage _documentPageAsync;
System\Windows\Documents\DocumentSequence.cs (15)
239internal DocumentPage GetPage(int pageNumber) 252DocumentPage innerDP = null; 264return DocumentPage.Missing; 270internal DocumentPage GetPage(FixedDocument document, int fixedDocPageNumber) 279DocumentPage innerDP = document.GetPage(fixedDocPageNumber); 392internal ContentPosition GetPagePosition(DocumentPage page) 694DocumentPage docPage = GetPage(0); 864_NotifyGetPageAsyncCompleted(DocumentPage.Missing, pageNumber, null, true, asyncRequest.UserState); 891DocumentPage sdp = DocumentPage.Missing; 893if (!args.Cancelled && (args.Error == null) && (args.DocumentPage != DocumentPage.Missing)) 931private void _NotifyGetPageAsyncCompleted(DocumentPage page, int pageNumber, Exception error, bool cancelled, object userState) 1061internal FixedDocumentSequenceDocumentPage(FixedDocumentSequence documentSequence, DynamicDocumentPaginator documentPaginator, DocumentPage documentPage) 1179internal DocumentPage ChildDocumentPage 1232private readonly DocumentPage _documentPage;
System\Windows\Documents\FixedDocument.cs (10)
313internal DocumentPage GetPage(int pageNumber) 335return DocumentPage.Missing; 350return DocumentPage.Missing; 386_NotifyGetPageAsyncCompleted(DocumentPage.Missing, pageNumber, null, false, userState); 508internal ContentPosition GetPagePosition(DocumentPage page) 850DocumentPage docPage = GetPage(0); 1016if (fdp != null && fdp != DocumentPage.Missing) 1225DocumentPage result = DocumentPage.Missing; 1255private void _NotifyGetPageAsyncCompleted(DocumentPage page, int pageNumber, Exception error, bool cancelled, object userState)
System\Windows\Documents\RubberbandSelector.cs (1)
570DocumentPage dp = mpScope.GetDocumentPageFromPoint(pt);
PresentationUI (3)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (3)
516DocumentPage page = docPaginator.GetPage(i - 1); 2392public override DocumentPage GetPage(int pageNumber) 2394DocumentPage page = null;
ReachFramework (29)
Serialization\Manager\NGCSerializationManager.cs (1)
255else if (typeof(System.Windows.Documents.DocumentPage).IsAssignableFrom(objectType))
Serialization\Manager\NGCSerializationManagerAsync.cs (1)
493else if (typeof(System.Windows.Documents.DocumentPage).IsAssignableFrom(objectType))
Serialization\Manager\NGCSerializer.cs (3)
310DocumentPage dp = serializedObject as DocumentPage; 404DocumentPage page = Toolbox.GetPage(paginator, i);
Serialization\Manager\NGCSerializerAsync.cs (3)
729DocumentPage page = Toolbox.GetPage(paginator, index-1); 918DocumentPage dp = serializedObject as DocumentPage;
Serialization\Manager\ReachDocumentPageSerializer.cs (2)
99DocumentPage dp = (DocumentPage)serializableObjectContext.TargetObject;
Serialization\Manager\ReachDocumentPageSerializerAsync.cs (2)
162DocumentPage dp = (DocumentPage)serializableObjectContext.TargetObject;
Serialization\Manager\ReachIDocumentPaginatorSerializer.cs (1)
123DocumentPage page = Toolbox.GetPage(paginator, i);
Serialization\Manager\ReachIDocumentPaginatorSerializerAsync.cs (1)
259DocumentPage page = Toolbox.GetPage(paginator, index-1);
Serialization\Manager\ReachSerializationUtils.cs (3)
770internal void SerializeLinksInDocumentPage(DocumentPage page) 1221internal static DocumentPage GetPage(DocumentPaginator paginator, int index) 1225DocumentPage page = paginator.GetPage(index);
Serialization\Manager\XpsOMDocumentPageSerializer.cs (4)
89DocumentPage dp = (DocumentPage)serializableObjectContext.TargetObject; 131DocumentPage dp = (DocumentPage)serializableObjectContext.TargetObject;
Serialization\Manager\XpsOMDocumentPageSerializerAsync.cs (2)
92DocumentPage dp = (DocumentPage)serializableObjectContext.TargetObject;
Serialization\Manager\XpsOMDocumentPaginatorSerializer.cs (1)
78DocumentPage page = Toolbox.GetPage(paginator, i);
Serialization\Manager\XpsOMDocumentPaginatorSerializerAsync.cs (1)
138DocumentPage page = Toolbox.GetPage(paginator, index - 1);
Serialization\Manager\XpsOMSerializationManager.cs (1)
186else if (typeof(System.Windows.Documents.DocumentPage).IsAssignableFrom(objectType))
Serialization\Manager\XpsOMSerializationManagerAsync.cs (1)
339else if (typeof(System.Windows.Documents.DocumentPage).IsAssignableFrom(objectType))
Serialization\Manager\XpsSerializationManager.cs (1)
343else if (typeof(System.Windows.Documents.DocumentPage).IsAssignableFrom(objectType))
Serialization\Manager\XpsSerializationManagerAsync.cs (1)
435else if (typeof(System.Windows.Documents.DocumentPage).IsAssignableFrom(objectType))