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)
356if (_pageHost == null) 359this.AddVisualChild(_pageHost); 361Invariant.Assert(_pageHost != null); 367_pageHost.PageVisual = null; 370_pageHost.CachedOffset = new Point(); 371_pageHost.RenderTransform = null; 374_pageHost.Arrange(new Rect(_pageHost.CachedOffset, finalSize)); 380if (_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)); 454if (_pageHost.PageVisual != _pageVisualClone) 457_pageHost.PageVisual = _pageVisualClone; 461_pageHost.Arrange(new Rect(_pageHost.CachedOffset, finalSize)); 474if (index != 0 || _pageHost == null) 478return _pageHost; 581get { return _pageHost != null ? 1 : 0; } 843if (_pageHost != null) 845_pageHost.PageVisual = null; 964if (_pageHost != null && _pageHost.PageVisual != null && _documentPage.Size != Size.Empty) 981renderTargetBitmap.Render(_pageHost.PageVisual);