29 references to Visual
PresentationFramework (29)
MS\Internal\LayoutDump.cs (1)
987
DumpParagraphResults(writer, "Paragraphs", cellParaClient.GetColumnResults(out hasTextContent)[0].Paragraphs, cellParaClient.
Visual
);
MS\Internal\PtsHost\FigureParaClient.cs (1)
361
Visual
.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\FloaterParaClient.cs (1)
368
Visual
.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\PtsHelper.cs (5)
82
Visual paraVisual = floatingElementList[index].
Visual
;
268
Visual currentParent = VisualTreeHelper.GetParent(paraClient.
Visual
) as Visual;
273
parent.Children.Remove(paraClient.
Visual
);
277
visualCollection.Insert(index, paraClient.
Visual
);
284
while (visualCollection[index] != paraClient.
Visual
)
MS\Internal\PtsHost\SubpageParaClient.cs (1)
294
Visual
.DrawBackgroundAndBorder(backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\TableParaClient.cs (13)
183
Visual
.Clip = new RectangleGeometry(_columnRect.FromTextDpi());
877
geometry = Geometry.Combine(geometry,
Visual
.Clip, GeometryCombineMode.Intersect, null);
1573
|| VisualTreeHelper.GetParent(cellParaClient.
Visual
) == null )
1575
Visual currentParent = VisualTreeHelper.GetParent(cellParaClient.
Visual
) as Visual;
1580
parent.Children.Remove(cellParaClient.
Visual
);
1582
cellVisualsCollection.Insert(sourceIndex, cellParaClient.
Visual
);
1586
Debug.Assert( cellParaClient.
Visual
!= null
1589
&& VisualTreeHelper.GetParent(cellParaClient.
Visual
) != null );
1591
SynchronizeCellVisualsCollection(cellVisualsCollection, sourceIndex, cellParaClient.
Visual
);
1711
cellVisualsCollection.Insert(sourceIndex, cellParaClient.
Visual
);
1715
Debug.Assert( cellParaClient.
Visual
!= null
1718
&& VisualTreeHelper.GetParent(cellParaClient.
Visual
) != null );
1720
SynchronizeCellVisualsCollection(cellVisualsCollection, sourceIndex, cellParaClient.
Visual
);
MS\Internal\PtsHost\TextParaClient.cs (7)
2267
int count = VisualTreeHelper.GetChildrenCount(
Visual
);
2280
visual = VisualTreeHelper.GetChild(
Visual
, visualIndex) as LineVisual;
2282
Invariant.Assert(visual != null || VisualTreeHelper.GetChild(
Visual
, visualIndex) == null);
2296
Visual temp =
Visual
;
2297
int count = VisualTreeHelper.GetChildrenCount(
Visual
);
2303
if(VisualTreeHelper.GetChild(
Visual
, visualIndex) is ParagraphElementVisual)
2305
temp =
Visual
.InternalGetVisualChild(lineIndex);