1 write to _pageHost
PresentationFramework (1)
System\Windows\Controls\Primitives\DocumentPageView.cs (1)
355_pageHost = new DocumentPageHost();
25 references to _pageHost
PresentationFramework (25)
System\Windows\Controls\Primitives\DocumentPageView.cs (25)
353if (_pageHost == null) 356this.AddVisualChild(_pageHost); 358Invariant.Assert(_pageHost != null); 364_pageHost.PageVisual = null; 367_pageHost.CachedOffset = new Point(); 368_pageHost.RenderTransform = null; 371_pageHost.Arrange(new Rect(_pageHost.CachedOffset, finalSize)); 377if (_pageHost.PageVisual != pageVisual) 385_pageHost.PageVisual = pageVisual; 432_pageHost.CachedOffset = new Point((finalSize.Width - pageSize.Width) / 2, (finalSize.Height - pageSize.Height) / 2); 433_pageHost.RenderTransform = pageTransform; 436_pageHost.Arrange(new Rect(_pageHost.CachedOffset, _documentPage.Size)); 450if (_pageHost.PageVisual != _pageVisualClone) 453_pageHost.PageVisual = _pageVisualClone; 457_pageHost.Arrange(new Rect(_pageHost.CachedOffset, finalSize)); 470if (index != 0 || _pageHost == null) 474return _pageHost; 574get { return _pageHost != null ? 1 : 0; } 830_pageHost?.PageVisual = null; 945if (_pageHost != null && _pageHost.PageVisual != null && _documentPage.Size != Size.Empty) 962renderTargetBitmap.Render(_pageHost.PageVisual);