4 writes to _visual
PresentationFramework (4)
MS\Internal\PtsHost\BaseParaClient.cs (3)
104_visual = oldParaClient._visual; 105oldParaClient._visual = null; 187_visual = new ParagraphVisual();
MS\Internal\PtsHost\SubpageParaClient.cs (1)
45_visual = null;
50 references to _visual
PresentationFramework (50)
MS\Internal\PtsHost\BaseParaClient.cs (4)
101Debug.Assert(oldParaClient._visual != null); 104_visual = oldParaClient._visual; 185if (_visual == null) 189return _visual;
MS\Internal\PtsHost\ContainerParaClient.cs (3)
191_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk); 201PtsHelper.UpdateParaListVisuals(PtsContext, _visual.Children, fskupdInherited, arrayParaDesc); 205_visual.Children.Clear();
MS\Internal\PtsHost\FigureParaClient.cs (8)
367if(_visual.Children.Count != 2) 369_visual.Children.Clear(); 370_visual.Children.Add(new ContainerVisual()); 371_visual.Children.Add(new ContainerVisual()); 374pageContentVisual = (ContainerVisual)_visual.Children[0]; 375floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 466_visual.Children.Clear(); 474PtsHelper.ClipChildrenToRect(_visual, clipRect.FromTextDpi());
MS\Internal\PtsHost\FloaterParaClient.cs (8)
374if(_visual.Children.Count != 2) 376_visual.Children.Clear(); 377_visual.Children.Add(new ContainerVisual()); 378_visual.Children.Add(new ContainerVisual()); 381pageContentVisual = (ContainerVisual)_visual.Children[0]; 382floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 473_visual.Children.Clear(); 481PtsHelper.ClipChildrenToRect(_visual, clipRect.FromTextDpi());
MS\Internal\PtsHost\ListParaClient.cs (4)
71using(DrawingContext ctx = _visual.RenderOpen()) 73_visual.DrawBackgroundAndBorderIntoContext(ctx, backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk); 124PtsHelper.UpdateParaListVisuals(PtsContext, _visual.Children, fskupdInherited, arrayParaDesc); 128_visual.Children.Clear();
MS\Internal\PtsHost\SubpageParaClient.cs (8)
299if(_visual.Children.Count != 2) 301_visual.Children.Clear(); 302_visual.Children.Add(new ContainerVisual()); 303_visual.Children.Add(new ContainerVisual()); 306pageContentVisual = (ContainerVisual)_visual.Children[0]; 307floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 398_visual.Children.Clear(); 406PtsHelper.ClipChildrenToRect(_visual, clipRect.FromTextDpi());
MS\Internal\PtsHost\TableParaClient.cs (4)
188_visual.Children.Clear(); 214VisualCollection rowVisualsCollection = _visual.Children; 223using (DrawingContext dc = _visual.RenderOpen()) 227_visual.DrawBackgroundAndBorderIntoContext(dc, backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\TextParaClient.cs (4)
59VisualCollection visualChildren = _visual.Children; 60ContainerVisual lineContainerVisual = _visual; 156ContainerVisual lineContainerVisual = _visual; 1836lineCount = _visual.Children.Count;
MS\Internal\PtsHost\UIElementParaClient.cs (7)
105PtsHelper.UpdateMirroringTransform(PageFlowDirection, ThisFlowDirection, _visual, TextDpi.FromTextDpi(2 * _rect.u + _rect.du)); 111if (_visual.Children.Count != 1 || _visual.Children[0] != uiElementIsland) 122_visual.Children.Clear(); 123_visual.Children.Add(uiElementIsland); 129_visual.Children.Clear(); 134_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);