29 references to Visual
PresentationFramework (29)
src\Framework\MS\Internal\LayoutDump.cs (1)
991
DumpParagraphResults(writer, "Paragraphs", cellParaClient.GetColumnResults(out hasTextContent)[0].Paragraphs, cellParaClient.
Visual
);
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (1)
417
Visual
.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (1)
421
Visual
.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);
src\Framework\MS\Internal\PtsHost\PtsHelper.cs (5)
91
Visual paraVisual = floatingElementList[index].
Visual
;
295
Visual currentParent = VisualTreeHelper.GetParent(paraClient.
Visual
) as Visual;
300
parent.Children.Remove(paraClient.
Visual
);
304
visualCollection.Insert(index, paraClient.
Visual
);
311
while (visualCollection[index] != paraClient.
Visual
)
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (1)
342
Visual
.DrawBackgroundAndBorder(backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (13)
209
Visual
.Clip = new RectangleGeometry(_columnRect.FromTextDpi());
945
geometry = Geometry.Combine(geometry,
Visual
.Clip, GeometryCombineMode.Intersect, null);
1686
|| VisualTreeHelper.GetParent(cellParaClient.
Visual
) == null )
1688
Visual currentParent = VisualTreeHelper.GetParent(cellParaClient.
Visual
) as Visual;
1693
parent.Children.Remove(cellParaClient.
Visual
);
1695
cellVisualsCollection.Insert(sourceIndex, cellParaClient.
Visual
);
1699
Debug.Assert( cellParaClient.
Visual
!= null
1702
&& VisualTreeHelper.GetParent(cellParaClient.
Visual
) != null );
1704
SynchronizeCellVisualsCollection(cellVisualsCollection, sourceIndex, cellParaClient.
Visual
);
1829
cellVisualsCollection.Insert(sourceIndex, cellParaClient.
Visual
);
1833
Debug.Assert( cellParaClient.
Visual
!= null
1836
&& VisualTreeHelper.GetParent(cellParaClient.
Visual
) != null );
1838
SynchronizeCellVisualsCollection(cellVisualsCollection, sourceIndex, cellParaClient.
Visual
);
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (7)
2487
int count = VisualTreeHelper.GetChildrenCount(
Visual
);
2500
visual = VisualTreeHelper.GetChild(
Visual
, visualIndex) as LineVisual;
2502
Invariant.Assert(visual != null || VisualTreeHelper.GetChild(
Visual
, visualIndex) == null);
2516
Visual temp =
Visual
;
2517
int count = VisualTreeHelper.GetChildrenCount(
Visual
);
2523
if(VisualTreeHelper.GetChild(
Visual
, visualIndex) is ParagraphElementVisual)
2525
temp =
Visual
.InternalGetVisualChild(lineIndex);