1 write to _pageHost
PresentationFramework (1)
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
356
_pageHost
= new DocumentPageHost();
26 references to _pageHost
PresentationFramework (26)
System\Windows\Controls\Primitives\DocumentPageView.cs (26)
354
if (
_pageHost
== null)
357
this.AddVisualChild(
_pageHost
);
359
Invariant.Assert(
_pageHost
!= null);
365
_pageHost
.PageVisual = null;
368
_pageHost
.CachedOffset = new Point();
369
_pageHost
.RenderTransform = null;
372
_pageHost
.Arrange(new Rect(
_pageHost
.CachedOffset, finalSize));
378
if (
_pageHost
.PageVisual != pageVisual)
386
_pageHost
.PageVisual = pageVisual;
433
_pageHost
.CachedOffset = new Point((finalSize.Width - pageSize.Width) / 2, (finalSize.Height - pageSize.Height) / 2);
434
_pageHost
.RenderTransform = pageTransform;
437
_pageHost
.Arrange(new Rect(
_pageHost
.CachedOffset, _documentPage.Size));
451
if (
_pageHost
.PageVisual != _pageVisualClone)
454
_pageHost
.PageVisual = _pageVisualClone;
458
_pageHost
.Arrange(new Rect(
_pageHost
.CachedOffset, finalSize));
471
if (index != 0 ||
_pageHost
== null)
475
return
_pageHost
;
575
get { return
_pageHost
!= null ? 1 : 0; }
837
if (
_pageHost
!= null)
839
_pageHost
.PageVisual = null;
955
if (
_pageHost
!= null &&
_pageHost
.PageVisual != null && _documentPage.Size != Size.Empty)
972
renderTargetBitmap.Render(
_pageHost
.PageVisual);