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