4 instantiations of DocumentPageView
PresentationFramework (4)
src\Framework\MS\Internal\Documents\DocumentGridPage.cs (1)
333_documentPageView = new DocumentPageView();
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (1)
312DocumentPageView dpv = new DocumentPageView();
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3704bamlType.DefaultConstructor = delegate() { return new System.Windows.Controls.Primitives.DocumentPageView(); };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
1235case KnownElements.DocumentPageView: o = new System.Windows.Controls.Primitives.DocumentPageView(); break;
97 references to DocumentPageView
PresentationFramework (97)
src\Framework\MS\Internal\Annotations\Anchoring\FixedPageProcessor.cs (6)
90DocumentPageView dpv = node as DocumentPageView; 127DocumentPageView dpv = node.Node as DocumentPageView; 206DocumentPageView dpv = null; 229dpv = startNode as DocumentPageView;
src\Framework\MS\Internal\Annotations\Anchoring\FixedTextSelectionProcessor.cs (2)
289DocumentPageView dpv = startNode as DocumentPageView;
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionHelper.cs (2)
209foreach (DocumentPageView dpv in documentViewerBase.PageViews) 546DocumentPageView view = AnnotationHelper.FindView(viewer, pageNb);
src\Framework\MS\Internal\Annotations\Anchoring\TextSelectionProcessor.cs (2)
407internal void SetTargetDocumentPageView(DocumentPageView target) 583private DocumentPageView _targetPage = null;
src\Framework\MS\Internal\Documents\ContentHostHelper.cs (7)
93List<DocumentPageView> pageViews; 113pageViews = new List<DocumentPageView>(); 149private static void FindDocumentPageViews(Visual root, List<DocumentPageView> pageViews) 154if (root is DocumentPageView) 156pageViews.Add((DocumentPageView)root); 175if (fe is DocumentPageView) 177pageViews.Add(fe as DocumentPageView);
src\Framework\MS\Internal\Documents\DocumentGrid.cs (11)
91DocumentPageView dp = GetDocumentPageViewFromPoint(point); 957public ReadOnlyCollection<DocumentPageView> PageViews 1492Collection<DocumentPageView> documentPageViews = 1493new Collection<DocumentPageView>(); 1579_pageViews = new ReadOnlyCollection<DocumentPageView>(documentPageViews); 2621foreach (DocumentPageView pageView in _pageViews) 2674DocumentPageView dp = GetDocumentPageViewFromPoint(GetActiveFocusPoint()); 2691private DocumentPageView GetDocumentPageViewFromPoint(Point point) 2697DocumentPageView page = null; 2702page = currentVisual as DocumentPageView; 3206private ReadOnlyCollection<DocumentPageView> _pageViews;
src\Framework\MS\Internal\Documents\DocumentGridPage.cs (3)
111public DocumentPageView DocumentPageView 417throw new ObjectDisposedException(typeof(DocumentPageView).ToString()); 446private DocumentPageView _documentPageView;
src\Framework\MS\Internal\Documents\DocumentPageTextView.cs (5)
44internal DocumentPageTextView(DocumentPageView owner, ITextContainer textContainer) 348if (_owner is DocumentPageView) 350_page = ((DocumentPageView)_owner).DocumentPageInternal; 544internal DocumentPageView DocumentPageView 546get { return _owner as DocumentPageView; }
src\Framework\MS\Internal\Documents\IDocumentScrollInfo.cs (1)
206ReadOnlyCollection<DocumentPageView> PageViews { get; }
src\Framework\MS\Internal\Documents\MultiPageTextView.cs (3)
721ReadOnlyCollection<DocumentPageView> pageViews; 890pageNumber = ((DocumentPageView)pageTextView.RenderScope).PageNumber; 984int currentPageNumber = ((DocumentPageView)pageTextView.RenderScope).PageNumber;
src\Framework\MS\Internal\LayoutDump.cs (3)
459AddUIElementDumpHandler(typeof(DocumentPageView), new DumpCustomUIElement(DumpDocumentPageView)); 468DocumentPageView dpv = element as DocumentPageView;
src\Framework\System\Windows\Annotations\AnnotationDocumentPaginator.cs (3)
312DocumentPageView dpv = new DocumentPageView(); 340_locatorManager.RegisterSelectionProcessor(new TextViewSelectionProcessor(), typeof(DocumentPageView)); 374private IList<IAttachedAnnotation> ProcessAnnotations(DocumentPageView dpv)
src\Framework\System\Windows\Annotations\AnnotationHelper.cs (2)
473internal static DocumentPageView FindView(DocumentViewerBase viewer, int pageNb) 478foreach (DocumentPageView view in viewer.PageViews)
src\Framework\System\Windows\Annotations\AnnotationService.cs (4)
1704foreach (DocumentPageView view in viewer.PageViews) 1719foreach (DocumentPageView view in _views) 1812private Collection<DocumentPageView> _views = new Collection<DocumentPageView>();
src\Framework\System\Windows\Automation\Peers\DocumentPageViewAutomationPeer.cs (3)
27public DocumentPageViewAutomationPeer(DocumentPageView owner) 53DocumentPageView owner = (DocumentPageView)Owner;
src\Framework\System\Windows\Controls\DocumentViewer.cs (4)
1246protected override ReadOnlyCollection<DocumentPageView> GetPageViewsCollection(out bool changed) 1248ReadOnlyCollection<DocumentPageView> pageViews = null; 1266pageViews = new ReadOnlyCollection<DocumentPageView>(new List<DocumentPageView>(0));
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (7)
57ClipToBoundsProperty.OverrideMetadata(typeof(DocumentPageView), new PropertyMetadata(BooleanBoxes.TrueBox)); 152typeof(DocumentPageView), 163typeof(DocumentPageView), 173typeof(DocumentPageView), 890throw new ObjectDisposedException(typeof(DocumentPageView).ToString()); 954Invariant.Assert(d != null && d is DocumentPageView); 955((DocumentPageView)d).OnPageContentChanged();
src\Framework\System\Windows\Controls\Primitives\DocumentViewerBase.cs (20)
81_pageViews = new ReadOnlyCollection<DocumentPageView>(new List<DocumentPageView>()); 239public ReadOnlyCollection<DocumentPageView> PageViews 418protected DocumentPageView GetMasterPageView() 421DocumentPageView masterPageView = null; 446protected virtual ReadOnlyCollection<DocumentPageView> GetPageViewsCollection(out bool changed) 448List<DocumentPageView> pageViewList; 452pageViewList = new List<DocumentPageView>(1/* simplest case has just one element */); 468return new ReadOnlyCollection<DocumentPageView>(pageViewList); 704internal bool IsMasterPageView(DocumentPageView pageView) 717DocumentPageView masterPage = GetMasterPageView(); 795DocumentPageView masterPage = GetMasterPageView(); 849ReadOnlyCollection<DocumentPageView> pageViews; 891private void VerifyDocumentPageViews(ReadOnlyCollection<DocumentPageView> pageViews) 927private void FindDocumentPageViews(Visual root, List<DocumentPageView> pageViews) 947if (fe is DocumentPageView) 949pageViews.Add(fe as DocumentPageView); 1000else if (!(fe is DocumentPageView)) 1251DocumentPageView masterPageView; 1676private ReadOnlyCollection<DocumentPageView> _pageViews; // Collection of DocumentPageViews presenting paginated Document.
src\Framework\System\Windows\Controls\SinglePageViewer.cs (6)
695ReadOnlyCollection<DocumentPageView> pageViews = PageViews; 837ReadOnlyCollection<DocumentPageView> pageViews = this.PageViews; 966DocumentPageView masterPageView; 1018ReadOnlyCollection<DocumentPageView> pageViews = PageViews; 1100ReadOnlyCollection<DocumentPageView> pageViews = PageViews; 1136ReadOnlyCollection<DocumentPageView> pageViews;
src\Framework\System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
256case 164: t = () => typeof(DocumentPageView); break;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
3702typeof(System.Windows.Controls.Primitives.DocumentPageView),
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
5708case KnownElements.DocumentPageView: t = typeof(System.Windows.Controls.Primitives.DocumentPageView); break;