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)
354if (_pageHost == null) 357this.AddVisualChild(_pageHost); 359Invariant.Assert(_pageHost != null); 365_pageHost.PageVisual = null; 368_pageHost.CachedOffset = new Point(); 369_pageHost.RenderTransform = null; 372_pageHost.Arrange(new Rect(_pageHost.CachedOffset, finalSize)); 378if (_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)); 451if (_pageHost.PageVisual != _pageVisualClone) 454_pageHost.PageVisual = _pageVisualClone; 458_pageHost.Arrange(new Rect(_pageHost.CachedOffset, finalSize)); 471if (index != 0 || _pageHost == null) 475return _pageHost; 575get { return _pageHost != null ? 1 : 0; } 837if (_pageHost != null) 839_pageHost.PageVisual = null; 955if (_pageHost != null && _pageHost.PageVisual != null && _documentPage.Size != Size.Empty) 972renderTargetBitmap.Render(_pageHost.PageVisual);