4 instantiations of DocumentPageView
PresentationFramework (4)
MS\Internal\Documents\DocumentGridPage.cs (1)
281
_documentPageView = new
DocumentPageView
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
299
DocumentPageView dpv = new
DocumentPageView
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3979
DefaultConstructor = delegate () { return new System.Windows.Controls.Primitives.
DocumentPageView
(); },
System\Windows\Markup\KnownTypes.cs (1)
1228
case KnownElements.DocumentPageView: o = new System.Windows.Controls.Primitives.
DocumentPageView
(); break;
97 references to DocumentPageView
PresentationFramework (97)
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (6)
78
DocumentPageView
dpv = node as
DocumentPageView
;
114
DocumentPageView
dpv = node.Node as
DocumentPageView
;
190
DocumentPageView
dpv = null;
213
dpv = startNode as
DocumentPageView
;
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (2)
269
DocumentPageView
dpv = startNode as
DocumentPageView
;
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (2)
194
foreach (
DocumentPageView
dpv in documentViewerBase.PageViews)
527
DocumentPageView
view = AnnotationHelper.FindView(viewer, pageNb);
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (2)
383
internal void SetTargetDocumentPageView(
DocumentPageView
target)
559
private
DocumentPageView
_targetPage = null;
MS\Internal\Documents\ContentHostHelper.cs (7)
88
List<
DocumentPageView
> pageViews;
108
pageViews = new List<
DocumentPageView
>();
144
private static void FindDocumentPageViews(Visual root, List<
DocumentPageView
> pageViews)
149
if (root is
DocumentPageView
)
151
pageViews.Add((
DocumentPageView
)root);
170
if (fe is
DocumentPageView
)
172
pageViews.Add(fe as
DocumentPageView
);
MS\Internal\Documents\DocumentGrid.cs (11)
77
DocumentPageView
dp = GetDocumentPageViewFromPoint(point);
930
public ReadOnlyCollection<
DocumentPageView
> PageViews
1458
Collection<
DocumentPageView
> documentPageViews =
1459
new Collection<
DocumentPageView
>();
1545
_pageViews = new ReadOnlyCollection<
DocumentPageView
>(documentPageViews);
2577
foreach (
DocumentPageView
pageView in _pageViews)
2629
DocumentPageView
dp = GetDocumentPageViewFromPoint(GetActiveFocusPoint());
2646
private
DocumentPageView
GetDocumentPageViewFromPoint(Point point)
2652
DocumentPageView
page = null;
2657
page = currentVisual as
DocumentPageView
;
3152
private ReadOnlyCollection<
DocumentPageView
> _pageViews;
MS\Internal\Documents\DocumentGridPage.cs (3)
93
public
DocumentPageView
DocumentPageView
356
ObjectDisposedException.ThrowIf(_disposed, typeof(
DocumentPageView
));
384
private
DocumentPageView
_documentPageView;
MS\Internal\Documents\DocumentPageTextView.cs (5)
40
internal DocumentPageTextView(
DocumentPageView
owner, ITextContainer textContainer)
344
if (_owner is
DocumentPageView
)
346
_page = ((
DocumentPageView
)_owner).DocumentPageInternal;
540
internal
DocumentPageView
DocumentPageView
542
get { return _owner as
DocumentPageView
; }
MS\Internal\Documents\IDocumentScrollInfo.cs (1)
195
ReadOnlyCollection<
DocumentPageView
> PageViews { get; }
MS\Internal\Documents\MultiPageTextView.cs (3)
714
ReadOnlyCollection<
DocumentPageView
> pageViews;
883
pageNumber = ((
DocumentPageView
)pageTextView.RenderScope).PageNumber;
977
int currentPageNumber = ((
DocumentPageView
)pageTextView.RenderScope).PageNumber;
MS\Internal\LayoutDump.cs (3)
455
AddUIElementDumpHandler(typeof(
DocumentPageView
), new DumpCustomUIElement(DumpDocumentPageView));
464
DocumentPageView
dpv = element as
DocumentPageView
;
System\Windows\Annotations\AnnotationDocumentPaginator.cs (3)
299
DocumentPageView
dpv = new DocumentPageView
329
_locatorManager.RegisterSelectionProcessor(new TextViewSelectionProcessor(), typeof(
DocumentPageView
));
363
private IList<IAttachedAnnotation> ProcessAnnotations(
DocumentPageView
dpv)
System\Windows\Annotations\AnnotationHelper.cs (2)
452
internal static
DocumentPageView
FindView(DocumentViewerBase viewer, int pageNb)
457
foreach (
DocumentPageView
view in viewer.PageViews)
System\Windows\Annotations\AnnotationService.cs (4)
1647
foreach (
DocumentPageView
view in viewer.PageViews)
1662
foreach (
DocumentPageView
view in _views)
1752
private Collection<
DocumentPageView
> _views = new Collection<
DocumentPageView
>();
System\Windows\Automation\Peers\DocumentPageViewAutomationPeer.cs (3)
23
public DocumentPageViewAutomationPeer(
DocumentPageView
owner)
49
DocumentPageView
owner = (
DocumentPageView
)Owner;
System\Windows\Controls\DocumentViewer.cs (4)
1214
protected override ReadOnlyCollection<
DocumentPageView
> GetPageViewsCollection(out bool changed)
1216
ReadOnlyCollection<
DocumentPageView
> pageViews = null;
1234
pageViews = new ReadOnlyCollection<
DocumentPageView
>(new List<
DocumentPageView
>(0));
System\Windows\Controls\Primitives\DocumentPageView.cs (7)
51
ClipToBoundsProperty.OverrideMetadata(typeof(
DocumentPageView
), new PropertyMetadata(BooleanBoxes.TrueBox));
146
typeof(
DocumentPageView
),
157
typeof(
DocumentPageView
),
167
typeof(
DocumentPageView
),
882
ObjectDisposedException.ThrowIf(_disposed, typeof(
DocumentPageView
));
945
Invariant.Assert(d != null && d is
DocumentPageView
);
946
((
DocumentPageView
)d).OnPageContentChanged();
System\Windows\Controls\Primitives\DocumentViewerBase.cs (20)
62
_pageViews = new ReadOnlyCollection<
DocumentPageView
>(new List<
DocumentPageView
>());
220
public ReadOnlyCollection<
DocumentPageView
> PageViews
393
protected
DocumentPageView
GetMasterPageView()
396
DocumentPageView
masterPageView = null;
421
protected virtual ReadOnlyCollection<
DocumentPageView
> GetPageViewsCollection(out bool changed)
423
List<
DocumentPageView
> pageViewList;
427
pageViewList = new List<
DocumentPageView
>(1/* simplest case has just one element */);
443
return new ReadOnlyCollection<
DocumentPageView
>(pageViewList);
676
internal bool IsMasterPageView(
DocumentPageView
pageView)
689
DocumentPageView
masterPage = GetMasterPageView();
767
DocumentPageView
masterPage = GetMasterPageView();
821
ReadOnlyCollection<
DocumentPageView
> pageViews;
863
private void VerifyDocumentPageViews(ReadOnlyCollection<
DocumentPageView
> pageViews)
899
private void FindDocumentPageViews(Visual root, List<
DocumentPageView
> pageViews)
919
if (fe is
DocumentPageView
)
921
pageViews.Add(fe as
DocumentPageView
);
972
else if (!(fe is
DocumentPageView
))
1224
DocumentPageView
masterPageView;
1647
private ReadOnlyCollection<
DocumentPageView
> _pageViews; // Collection of DocumentPageViews presenting paginated Document.
System\Windows\Controls\SinglePageViewer.cs (6)
687
ReadOnlyCollection<
DocumentPageView
> pageViews = PageViews;
829
ReadOnlyCollection<
DocumentPageView
> pageViews = this.PageViews;
958
DocumentPageView
masterPageView;
1010
ReadOnlyCollection<
DocumentPageView
> pageViews = PageViews;
1092
ReadOnlyCollection<
DocumentPageView
> pageViews = PageViews;
1128
ReadOnlyCollection<
DocumentPageView
> pageViews;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
258
case 164: t = () => typeof(
DocumentPageView
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3976
typeof(System.Windows.Controls.Primitives.
DocumentPageView
),
System\Windows\Markup\KnownTypes.cs (1)
5712
case KnownElements.DocumentPageView: t = typeof(System.Windows.Controls.Primitives.
DocumentPageView
); break;