18 references to DocumentPage
PresentationFramework (18)
src\Framework\MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (6)
92if (dpv != null && (dpv.DocumentPage is FixedDocumentPage || dpv.DocumentPage is FixedDocumentSequenceDocumentPage)) 134if (dpv.DocumentPage is FixedDocumentPage || dpv.DocumentPage is FixedDocumentSequenceDocumentPage) 232page = dpv.DocumentPage as FixedDocumentPage; 235FixedDocumentSequenceDocumentPage sequencePage = dpv.DocumentPage as FixedDocumentSequenceDocumentPage;
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (2)
292docPage = dpv.DocumentPage as FixedDocumentPage; 295docPage = dpv.DocumentPage as FixedDocumentSequenceDocumentPage;
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (1)
549IServiceProvider serviceProvider = view.DocumentPage as IServiceProvider;
src\Framework\MS\Internal\Documents\ContentHostHelper.cs (3)
117if (pageViews[i].DocumentPage is FlowDocumentPage) 119textView = (ITextView)((IServiceProvider)pageViews[i].DocumentPage).GetService(typeof(ITextView)); 129ich = pageViews[i].DocumentPage.Visual as IContentHost;
src\Framework\MS\Internal\Documents\DocumentGrid.cs (1)
96return dp.DocumentPage;
src\Framework\MS\Internal\Documents\DocumentGridPage.cs (1)
84return _documentPageView.DocumentPage;
src\Framework\MS\Internal\LayoutDump.cs (2)
472if (dpv.DocumentPage != null) 474DumpDocumentPage(writer, dpv.DocumentPage, element);
src\Framework\System\Windows\Controls\SinglePageViewer.cs (2)
979if (masterPageView != null && masterPageView.DocumentPage != null) 981_contentPosition = documentPaginator.GetPagePosition(masterPageView.DocumentPage);