4 instantiations of DocumentPageView
PresentationFramework (4)
MS\Internal\Documents\DocumentGridPage.cs (1)
294
_documentPageView = new
DocumentPageView
();
System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
302
DocumentPageView dpv = new
DocumentPageView
();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3708
bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.Primitives.
DocumentPageView
(); };
System\Windows\Markup\KnownTypes.cs (1)
1234
case KnownElements.DocumentPageView: o = new System.Windows.Controls.Primitives.
DocumentPageView
(); break;
97 references to DocumentPageView
PresentationFramework (97)
MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (6)
85
DocumentPageView
dpv = node as
DocumentPageView
;
121
DocumentPageView
dpv = node.Node as
DocumentPageView
;
197
DocumentPageView
dpv = null;
220
dpv = startNode as
DocumentPageView
;
MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (2)
280
DocumentPageView
dpv = startNode as
DocumentPageView
;
MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (2)
203
foreach (
DocumentPageView
dpv in documentViewerBase.PageViews)
536
DocumentPageView
view = AnnotationHelper.FindView(viewer, pageNb);
MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (2)
393
internal void SetTargetDocumentPageView(
DocumentPageView
target)
569
private
DocumentPageView
_targetPage = null;
MS\Internal\Documents\ContentHostHelper.cs (7)
91
List<
DocumentPageView
> pageViews;
111
pageViews = new List<
DocumentPageView
>();
147
private static void FindDocumentPageViews(Visual root, List<
DocumentPageView
> pageViews)
152
if (root is
DocumentPageView
)
154
pageViews.Add((
DocumentPageView
)root);
173
if (fe is
DocumentPageView
)
175
pageViews.Add(fe as
DocumentPageView
);
MS\Internal\Documents\DocumentGrid.cs (11)
84
DocumentPageView
dp = GetDocumentPageViewFromPoint(point);
937
public ReadOnlyCollection<
DocumentPageView
> PageViews
1463
Collection<
DocumentPageView
> documentPageViews =
1464
new Collection<
DocumentPageView
>();
1550
_pageViews = new ReadOnlyCollection<
DocumentPageView
>(documentPageViews);
2579
foreach (
DocumentPageView
pageView in _pageViews)
2631
DocumentPageView
dp = GetDocumentPageViewFromPoint(GetActiveFocusPoint());
2648
private
DocumentPageView
GetDocumentPageViewFromPoint(Point point)
2654
DocumentPageView
page = null;
2659
page = currentVisual as
DocumentPageView
;
3154
private ReadOnlyCollection<
DocumentPageView
> _pageViews;
MS\Internal\Documents\DocumentGridPage.cs (3)
106
public
DocumentPageView
DocumentPageView
365
ObjectDisposedException.ThrowIf(_disposed, typeof(
DocumentPageView
));
393
private
DocumentPageView
_documentPageView;
MS\Internal\Documents\DocumentPageTextView.cs (5)
42
internal DocumentPageTextView(
DocumentPageView
owner, ITextContainer textContainer)
346
if (_owner is
DocumentPageView
)
348
_page = ((
DocumentPageView
)_owner).DocumentPageInternal;
542
internal
DocumentPageView
DocumentPageView
544
get { return _owner as
DocumentPageView
; }
MS\Internal\Documents\IDocumentScrollInfo.cs (1)
201
ReadOnlyCollection<
DocumentPageView
> PageViews { get; }
MS\Internal\Documents\MultiPageTextView.cs (3)
716
ReadOnlyCollection<
DocumentPageView
> pageViews;
885
pageNumber = ((
DocumentPageView
)pageTextView.RenderScope).PageNumber;
979
int currentPageNumber = ((
DocumentPageView
)pageTextView.RenderScope).PageNumber;
MS\Internal\LayoutDump.cs (3)
456
AddUIElementDumpHandler(typeof(
DocumentPageView
), new DumpCustomUIElement(DumpDocumentPageView));
465
DocumentPageView
dpv = element as
DocumentPageView
;
System\Windows\Annotations\AnnotationDocumentPaginator.cs (3)
302
DocumentPageView
dpv = new DocumentPageView();
330
_locatorManager.RegisterSelectionProcessor(new TextViewSelectionProcessor(), typeof(
DocumentPageView
));
364
private IList<IAttachedAnnotation> ProcessAnnotations(
DocumentPageView
dpv)
System\Windows\Annotations\AnnotationHelper.cs (2)
466
internal static
DocumentPageView
FindView(DocumentViewerBase viewer, int pageNb)
471
foreach (
DocumentPageView
view in viewer.PageViews)
System\Windows\Annotations\AnnotationService.cs (4)
1664
foreach (
DocumentPageView
view in viewer.PageViews)
1679
foreach (
DocumentPageView
view in _views)
1770
private Collection<
DocumentPageView
> _views = new Collection<
DocumentPageView
>();
System\Windows\Automation\Peers\DocumentPageViewAutomationPeer.cs (3)
25
public DocumentPageViewAutomationPeer(
DocumentPageView
owner)
51
DocumentPageView
owner = (
DocumentPageView
)Owner;
System\Windows\Controls\DocumentViewer.cs (4)
1226
protected override ReadOnlyCollection<
DocumentPageView
> GetPageViewsCollection(out bool changed)
1228
ReadOnlyCollection<
DocumentPageView
> pageViews = null;
1246
pageViews = new ReadOnlyCollection<
DocumentPageView
>(new List<
DocumentPageView
>(0));
System\Windows\Controls\Primitives\DocumentPageView.cs (7)
55
ClipToBoundsProperty.OverrideMetadata(typeof(
DocumentPageView
), new PropertyMetadata(BooleanBoxes.TrueBox));
150
typeof(
DocumentPageView
),
161
typeof(
DocumentPageView
),
171
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)
78
_pageViews = new ReadOnlyCollection<
DocumentPageView
>(new List<
DocumentPageView
>());
236
public ReadOnlyCollection<
DocumentPageView
> PageViews
409
protected
DocumentPageView
GetMasterPageView()
412
DocumentPageView
masterPageView = null;
437
protected virtual ReadOnlyCollection<
DocumentPageView
> GetPageViewsCollection(out bool changed)
439
List<
DocumentPageView
> pageViewList;
443
pageViewList = new List<
DocumentPageView
>(1/* simplest case has just one element */);
459
return new ReadOnlyCollection<
DocumentPageView
>(pageViewList);
692
internal bool IsMasterPageView(
DocumentPageView
pageView)
705
DocumentPageView
masterPage = GetMasterPageView();
783
DocumentPageView
masterPage = GetMasterPageView();
837
ReadOnlyCollection<
DocumentPageView
> pageViews;
879
private void VerifyDocumentPageViews(ReadOnlyCollection<
DocumentPageView
> pageViews)
915
private void FindDocumentPageViews(Visual root, List<
DocumentPageView
> pageViews)
935
if (fe is
DocumentPageView
)
937
pageViews.Add(fe as
DocumentPageView
);
988
else if (!(fe is
DocumentPageView
))
1239
DocumentPageView
masterPageView;
1664
private ReadOnlyCollection<
DocumentPageView
> _pageViews; // Collection of DocumentPageViews presenting paginated Document.
System\Windows\Controls\SinglePageViewer.cs (6)
688
ReadOnlyCollection<
DocumentPageView
> pageViews = PageViews;
830
ReadOnlyCollection<
DocumentPageView
> pageViews = this.PageViews;
959
DocumentPageView
masterPageView;
1011
ReadOnlyCollection<
DocumentPageView
> pageViews = PageViews;
1093
ReadOnlyCollection<
DocumentPageView
> pageViews = PageViews;
1129
ReadOnlyCollection<
DocumentPageView
> pageViews;
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
260
case 164: t = () => typeof(
DocumentPageView
); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3706
typeof(System.Windows.Controls.Primitives.
DocumentPageView
),
System\Windows\Markup\KnownTypes.cs (1)
5718
case KnownElements.DocumentPageView: t = typeof(System.Windows.Controls.Primitives.
DocumentPageView
); break;