1 write to _pageHost
PresentationFramework (1)
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (1)
358
_pageHost
= new DocumentPageHost();
26 references to _pageHost
PresentationFramework (26)
src\Framework\System\Windows\Controls\Primitives\DocumentPageView.cs (26)
356
if (
_pageHost
== null)
359
this.AddVisualChild(
_pageHost
);
361
Invariant.Assert(
_pageHost
!= null);
367
_pageHost
.PageVisual = null;
370
_pageHost
.CachedOffset = new Point();
371
_pageHost
.RenderTransform = null;
374
_pageHost
.Arrange(new Rect(
_pageHost
.CachedOffset, finalSize));
380
if (
_pageHost
.PageVisual != pageVisual)
388
_pageHost
.PageVisual = pageVisual;
435
_pageHost
.CachedOffset = new Point((finalSize.Width - pageSize.Width) / 2, (finalSize.Height - pageSize.Height) / 2);
436
_pageHost
.RenderTransform = pageTransform;
439
_pageHost
.Arrange(new Rect(
_pageHost
.CachedOffset, _documentPage.Size));
454
if (
_pageHost
.PageVisual != _pageVisualClone)
457
_pageHost
.PageVisual = _pageVisualClone;
461
_pageHost
.Arrange(new Rect(
_pageHost
.CachedOffset, finalSize));
474
if (index != 0 ||
_pageHost
== null)
478
return
_pageHost
;
581
get { return
_pageHost
!= null ? 1 : 0; }
843
if (
_pageHost
!= null)
845
_pageHost
.PageVisual = null;
964
if (
_pageHost
!= null &&
_pageHost
.PageVisual != null && _documentPage.Size != Size.Empty)
981
renderTargetBitmap.Render(
_pageHost
.PageVisual);