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