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