29 references to Visual
PresentationFramework (29)
MS\Internal\LayoutDump.cs (1)
988
DumpParagraphResults(writer, "Paragraphs", cellParaClient.GetColumnResults(out hasTextContent)[0].Paragraphs, cellParaClient.
Visual
);
MS\Internal\PtsHost\FigureParaClient.cs (1)
366
Visual
.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\FloaterParaClient.cs (1)
372
Visual
.DrawBackgroundAndBorder(backgroundBrush, mbp.BorderBrush, mbp.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\PtsHelper.cs (5)
87
Visual paraVisual = floatingElementList[index].
Visual
;
273
Visual currentParent = VisualTreeHelper.GetParent(paraClient.
Visual
) as Visual;
278
parent.Children.Remove(paraClient.
Visual
);
282
visualCollection.Insert(index, paraClient.
Visual
);
289
while (visualCollection[index] != paraClient.
Visual
)
MS\Internal\PtsHost\SubpageParaClient.cs (1)
299
Visual
.DrawBackgroundAndBorder(backgroundBrush, mbpInfo.BorderBrush, mbpInfo.Border, _rect.FromTextDpi(), IsFirstChunk, IsLastChunk);
MS\Internal\PtsHost\TableParaClient.cs (13)
189
Visual
.Clip = new RectangleGeometry(_columnRect.FromTextDpi());
883
geometry = Geometry.Combine(geometry,
Visual
.Clip, GeometryCombineMode.Intersect, null);
1579
|| VisualTreeHelper.GetParent(cellParaClient.
Visual
) == null )
1581
Visual currentParent = VisualTreeHelper.GetParent(cellParaClient.
Visual
) as Visual;
1586
parent.Children.Remove(cellParaClient.
Visual
);
1588
cellVisualsCollection.Insert(sourceIndex, cellParaClient.
Visual
);
1592
Debug.Assert( cellParaClient.
Visual
!= null
1595
&& VisualTreeHelper.GetParent(cellParaClient.
Visual
) != null );
1597
SynchronizeCellVisualsCollection(cellVisualsCollection, sourceIndex, cellParaClient.
Visual
);
1717
cellVisualsCollection.Insert(sourceIndex, cellParaClient.
Visual
);
1721
Debug.Assert( cellParaClient.
Visual
!= null
1724
&& VisualTreeHelper.GetParent(cellParaClient.
Visual
) != null );
1726
SynchronizeCellVisualsCollection(cellVisualsCollection, sourceIndex, cellParaClient.
Visual
);
MS\Internal\PtsHost\TextParaClient.cs (7)
2273
int count = VisualTreeHelper.GetChildrenCount(
Visual
);
2286
visual = VisualTreeHelper.GetChild(
Visual
, visualIndex) as LineVisual;
2288
Invariant.Assert(visual != null || VisualTreeHelper.GetChild(
Visual
, visualIndex) == null);
2302
Visual temp =
Visual
;
2303
int count = VisualTreeHelper.GetChildrenCount(
Visual
);
2309
if(VisualTreeHelper.GetChild(
Visual
, visualIndex) is ParagraphElementVisual)
2311
temp =
Visual
.InternalGetVisualChild(lineIndex);