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