4 writes to _visual
PresentationFramework (4)
MS\Internal\PtsHost\BaseParaClient.cs (3)
112_visual = oldParaClient._visual; 113oldParaClient._visual = null; 195_visual = new ParagraphVisual();
MS\Internal\PtsHost\SubpageParaClient.cs (1)
50_visual = null;
50 references to _visual
PresentationFramework (50)
MS\Internal\PtsHost\BaseParaClient.cs (4)
109Debug.Assert(oldParaClient._visual != null); 112_visual = oldParaClient._visual; 193if (_visual == null) 197return _visual;
MS\Internal\PtsHost\ContainerParaClient.cs (3)
196_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk); 206PtsHelper.UpdateParaListVisuals(PtsContext, _visual.Children, fskupdInherited, arrayParaDesc); 210_visual.Children.Clear();
MS\Internal\PtsHost\FigureParaClient.cs (8)
372if(_visual.Children.Count != 2) 374_visual.Children.Clear(); 375_visual.Children.Add(new ContainerVisual()); 376_visual.Children.Add(new ContainerVisual()); 379pageContentVisual = (ContainerVisual)_visual.Children[0]; 380floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 471_visual.Children.Clear(); 479PtsHelper.ClipChildrenToRect(_visual, clipRect.FromTextDpi());
MS\Internal\PtsHost\FloaterParaClient.cs (8)
378if(_visual.Children.Count != 2) 380_visual.Children.Clear(); 381_visual.Children.Add(new ContainerVisual()); 382_visual.Children.Add(new ContainerVisual()); 385pageContentVisual = (ContainerVisual)_visual.Children[0]; 386floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 477_visual.Children.Clear(); 485PtsHelper.ClipChildrenToRect(_visual, clipRect.FromTextDpi());
MS\Internal\PtsHost\ListParaClient.cs (4)
75using(DrawingContext ctx = _visual.RenderOpen()) 77_visual.DrawBackgroundAndBorderIntoContext(ctx, backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk); 128PtsHelper.UpdateParaListVisuals(PtsContext, _visual.Children, fskupdInherited, arrayParaDesc); 132_visual.Children.Clear();
MS\Internal\PtsHost\SubpageParaClient.cs (8)
304if(_visual.Children.Count != 2) 306_visual.Children.Clear(); 307_visual.Children.Add(new ContainerVisual()); 308_visual.Children.Add(new ContainerVisual()); 311pageContentVisual = (ContainerVisual)_visual.Children[0]; 312floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 403_visual.Children.Clear(); 411PtsHelper.ClipChildrenToRect(_visual, clipRect.FromTextDpi());
MS\Internal\PtsHost\TableParaClient.cs (4)
194_visual.Children.Clear(); 220VisualCollection rowVisualsCollection = _visual.Children; 229using (DrawingContext dc = _visual.RenderOpen()) 233_visual.DrawBackgroundAndBorderIntoContext(dc, backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\TextParaClient.cs (4)
65VisualCollection visualChildren = _visual.Children; 66ContainerVisual lineContainerVisual = _visual; 162ContainerVisual lineContainerVisual = _visual; 1842lineCount = _visual.Children.Count;
MS\Internal\PtsHost\UIElementParaClient.cs (7)
109PtsHelper.UpdateMirroringTransform(PageFlowDirection, ThisFlowDirection, _visual, TextDpi.FromTextDpi(2 * _rect.u + _rect.du)); 115if (_visual.Children.Count != 1 || _visual.Children[0] != uiElementIsland) 126_visual.Children.Clear(); 127_visual.Children.Add(uiElementIsland); 133_visual.Children.Clear(); 138_visual.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);