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