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