4 writes to _visual
PresentationFramework (4)
src\Framework\MS\Internal\PtsHost\BaseParaClient.cs (3)
127
_visual
= oldParaClient._visual;
128
oldParaClient.
_visual
= null;
210
_visual
= new ParagraphVisual();
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (1)
61
_visual
= null;
50 references to _visual
PresentationFramework (50)
src\Framework\MS\Internal\PtsHost\BaseParaClient.cs (4)
124
Debug.Assert(oldParaClient.
_visual
!= null);
127
_visual = oldParaClient.
_visual
;
208
if (
_visual
== null)
212
return
_visual
;
src\Framework\MS\Internal\PtsHost\ContainerParaClient.cs (3)
229
_visual
.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);
239
PtsHelper.UpdateParaListVisuals(PtsContext,
_visual
.Children, fskupdInherited, arrayParaDesc);
243
_visual
.Children.Clear();
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (8)
423
if(
_visual
.Children.Count != 2)
425
_visual
.Children.Clear();
426
_visual
.Children.Add(new ContainerVisual());
427
_visual
.Children.Add(new ContainerVisual());
430
pageContentVisual = (ContainerVisual)
_visual
.Children[0];
431
floatingElementsVisual = (ContainerVisual)
_visual
.Children[1];
522
_visual
.Children.Clear();
530
PtsHelper.ClipChildrenToRect(
_visual
, clipRect.FromTextDpi());
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (8)
427
if(
_visual
.Children.Count != 2)
429
_visual
.Children.Clear();
430
_visual
.Children.Add(new ContainerVisual());
431
_visual
.Children.Add(new ContainerVisual());
434
pageContentVisual = (ContainerVisual)
_visual
.Children[0];
435
floatingElementsVisual = (ContainerVisual)
_visual
.Children[1];
526
_visual
.Children.Clear();
534
PtsHelper.ClipChildrenToRect(
_visual
, clipRect.FromTextDpi());
src\Framework\MS\Internal\PtsHost\ListParaClient.cs (4)
85
using(DrawingContext ctx =
_visual
.RenderOpen())
87
_visual
.DrawBackgroundAndBorderIntoContext(ctx, backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);
138
PtsHelper.UpdateParaListVisuals(PtsContext,
_visual
.Children, fskupdInherited, arrayParaDesc);
142
_visual
.Children.Clear();
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (8)
347
if(
_visual
.Children.Count != 2)
349
_visual
.Children.Clear();
350
_visual
.Children.Add(new ContainerVisual());
351
_visual
.Children.Add(new ContainerVisual());
354
pageContentVisual = (ContainerVisual)
_visual
.Children[0];
355
floatingElementsVisual = (ContainerVisual)
_visual
.Children[1];
446
_visual
.Children.Clear();
454
PtsHelper.ClipChildrenToRect(
_visual
, clipRect.FromTextDpi());
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (4)
214
_visual
.Children.Clear();
240
VisualCollection rowVisualsCollection =
_visual
.Children;
249
using (DrawingContext dc =
_visual
.RenderOpen())
253
_visual
.DrawBackgroundAndBorderIntoContext(dc, backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (4)
77
VisualCollection visualChildren =
_visual
.Children;
78
ContainerVisual lineContainerVisual =
_visual
;
184
ContainerVisual lineContainerVisual =
_visual
;
2051
lineCount =
_visual
.Children.Count;
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (7)
116
PtsHelper.UpdateMirroringTransform(PageFlowDirection, ThisFlowDirection,
_visual
, TextDpi.FromTextDpi(2 * _rect.u + _rect.du));
122
if (
_visual
.Children.Count != 1 ||
_visual
.Children[0] != uiElementIsland)
133
_visual
.Children.Clear();
134
_visual
.Children.Add(uiElementIsland);
140
_visual
.Children.Clear();
145
_visual
.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);