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