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