4 instantiations of DocumentPageView
PresentationFramework (4)
MS\Internal\Documents\DocumentGridPage.cs (1)
280
_documentPageView = new
DocumentPageView
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
298
DocumentPageView dpv = new
DocumentPageView
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3978
DefaultConstructor = delegate () { return new System.Windows.Controls.Primitives.
DocumentPageView
(); },
System\Windows\Markup\KnownTypes.cs (1)
1227
case KnownElements.DocumentPageView: o = new System.Windows.Controls.Primitives.
DocumentPageView
(); break;
95 references to DocumentPageView
PresentationFramework (95)
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (6)
77
DocumentPageView
dpv = node as
DocumentPageView
;
113
DocumentPageView
dpv = node.Node as
DocumentPageView
;
189
DocumentPageView
dpv = null;
212
dpv = startNode as
DocumentPageView
;
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (2)
268
DocumentPageView
dpv = startNode as
DocumentPageView
;
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (2)
193
foreach (
DocumentPageView
dpv in documentViewerBase.PageViews)
526
DocumentPageView
view = AnnotationHelper.FindView(viewer, pageNb);
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (2)
382
internal void SetTargetDocumentPageView(
DocumentPageView
target)
558
private
DocumentPageView
_targetPage = null;
MS\Internal\Documents\ContentHostHelper.cs (7)
87
List<
DocumentPageView
> pageViews;
107
pageViews = new List<
DocumentPageView
>();
143
private static void FindDocumentPageViews(Visual root, List<
DocumentPageView
> pageViews)
148
if (root is
DocumentPageView
)
150
pageViews.Add((
DocumentPageView
)root);
169
if (fe is
DocumentPageView
)
171
pageViews.Add(fe as
DocumentPageView
);
MS\Internal\Documents\DocumentGrid.cs (11)
76
DocumentPageView
dp = GetDocumentPageViewFromPoint(point);
929
public ReadOnlyCollection<
DocumentPageView
> PageViews
1457
Collection<
DocumentPageView
> documentPageViews =
1458
new Collection<
DocumentPageView
>();
1544
_pageViews = new ReadOnlyCollection<
DocumentPageView
>(documentPageViews);
2564
foreach (
DocumentPageView
pageView in _pageViews)
2616
DocumentPageView
dp = GetDocumentPageViewFromPoint(GetActiveFocusPoint());
2633
private
DocumentPageView
GetDocumentPageViewFromPoint(Point point)
2639
DocumentPageView
page = null;
2644
page = currentVisual as
DocumentPageView
;
3139
private ReadOnlyCollection<
DocumentPageView
> _pageViews;
MS\Internal\Documents\DocumentGridPage.cs (3)
92
public
DocumentPageView
DocumentPageView
352
ObjectDisposedException.ThrowIf(_disposed, typeof(
DocumentPageView
));
380
private
DocumentPageView
_documentPageView;
MS\Internal\Documents\DocumentPageTextView.cs (5)
39
internal DocumentPageTextView(
DocumentPageView
owner, ITextContainer textContainer)
343
if (_owner is
DocumentPageView
)
345
_page = ((
DocumentPageView
)_owner).DocumentPageInternal;
539
internal
DocumentPageView
DocumentPageView
541
get { return _owner as
DocumentPageView
; }
MS\Internal\Documents\IDocumentScrollInfo.cs (1)
194
ReadOnlyCollection<
DocumentPageView
> PageViews { get; }
MS\Internal\Documents\MultiPageTextView.cs (3)
713
ReadOnlyCollection<
DocumentPageView
> pageViews;
882
pageNumber = ((
DocumentPageView
)pageTextView.RenderScope).PageNumber;
976
int currentPageNumber = ((
DocumentPageView
)pageTextView.RenderScope).PageNumber;
MS\Internal\LayoutDump.cs (3)
454
AddUIElementDumpHandler(typeof(
DocumentPageView
), new DumpCustomUIElement(DumpDocumentPageView));
463
DocumentPageView
dpv = element as
DocumentPageView
;
System\Windows\Annotations\AnnotationDocumentPaginator.cs (3)
298
DocumentPageView
dpv = new DocumentPageView
328
_locatorManager.RegisterSelectionProcessor(new TextViewSelectionProcessor(), typeof(
DocumentPageView
));
362
private IList<IAttachedAnnotation> ProcessAnnotations(
DocumentPageView
dpv)
System\Windows\Annotations\AnnotationHelper.cs (2)
451
internal static
DocumentPageView
FindView(DocumentViewerBase viewer, int pageNb)
456
foreach (
DocumentPageView
view in viewer.PageViews)
System\Windows\Annotations\AnnotationService.cs (4)
1646
foreach (
DocumentPageView
view in viewer.PageViews)
1661
foreach (
DocumentPageView
view in _views)
1751
private Collection<
DocumentPageView
> _views = new Collection<
DocumentPageView
>();
System\Windows\Automation\Peers\DocumentPageViewAutomationPeer.cs (3)
22
public DocumentPageViewAutomationPeer(
DocumentPageView
owner)
48
DocumentPageView
owner = (
DocumentPageView
)Owner;
System\Windows\Controls\DocumentViewer.cs (3)
1159
protected override ReadOnlyCollection<
DocumentPageView
> GetPageViewsCollection(out bool changed)
1161
ReadOnlyCollection<
DocumentPageView
> pageViews = null;
1179
pageViews = ReadOnlyCollection<
DocumentPageView
>.Empty;
System\Windows\Controls\Primitives\DocumentPageView.cs (7)
50
ClipToBoundsProperty.OverrideMetadata(typeof(
DocumentPageView
), new PropertyMetadata(BooleanBoxes.TrueBox));
145
typeof(
DocumentPageView
),
156
typeof(
DocumentPageView
),
166
typeof(
DocumentPageView
),
875
ObjectDisposedException.ThrowIf(_disposed, typeof(
DocumentPageView
));
938
Invariant.Assert(d != null && d is
DocumentPageView
);
939
((
DocumentPageView
)d).OnPageContentChanged();
System\Windows\Controls\Primitives\DocumentViewerBase.cs (19)
61
_pageViews = ReadOnlyCollection<
DocumentPageView
>.Empty;
219
public ReadOnlyCollection<
DocumentPageView
> PageViews
392
protected
DocumentPageView
GetMasterPageView()
395
DocumentPageView
masterPageView = null;
420
protected virtual ReadOnlyCollection<
DocumentPageView
> GetPageViewsCollection(out bool changed)
422
List<
DocumentPageView
> pageViewList;
426
pageViewList = new List<
DocumentPageView
>(1/* simplest case has just one element */);
442
return new ReadOnlyCollection<
DocumentPageView
>(pageViewList);
672
internal bool IsMasterPageView(
DocumentPageView
pageView)
685
DocumentPageView
masterPage = GetMasterPageView();
763
DocumentPageView
masterPage = GetMasterPageView();
817
ReadOnlyCollection<
DocumentPageView
> pageViews;
856
private void VerifyDocumentPageViews(ReadOnlyCollection<
DocumentPageView
> pageViews)
892
private void FindDocumentPageViews(Visual root, List<
DocumentPageView
> pageViews)
912
if (fe is
DocumentPageView
)
914
pageViews.Add(fe as
DocumentPageView
);
965
else if (!(fe is
DocumentPageView
))
1211
DocumentPageView
masterPageView;
1628
private ReadOnlyCollection<
DocumentPageView
> _pageViews; // Collection of DocumentPageViews presenting paginated Document.
System\Windows\Controls\SinglePageViewer.cs (6)
686
ReadOnlyCollection<
DocumentPageView
> pageViews = PageViews;
828
ReadOnlyCollection<
DocumentPageView
> pageViews = this.PageViews;
957
DocumentPageView
masterPageView;
1009
ReadOnlyCollection<
DocumentPageView
> pageViews = PageViews;
1091
ReadOnlyCollection<
DocumentPageView
> pageViews = PageViews;
1127
ReadOnlyCollection<
DocumentPageView
> pageViews;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
257
case 164: t = () => typeof(
DocumentPageView
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3975
typeof(System.Windows.Controls.Primitives.
DocumentPageView
),
System\Windows\Markup\KnownTypes.cs (1)
5711
case KnownElements.DocumentPageView: t = typeof(System.Windows.Controls.Primitives.
DocumentPageView
); break;