6 types derived from ContainerVisual
PresentationCore (3)
MS\Internal\Ink\Renderer.cs (1)
136private class HighlighterContainerVisual : ContainerVisual
System\Windows\Media\DrawingVisual.cs (1)
15public class DrawingVisual : ContainerVisual
System\Windows\Media\HostVisual.cs (1)
15public class HostVisual : ContainerVisual
PresentationFramework (3)
MS\Internal\Documents\UIElementIsland.cs (1)
18internal class UIElementIsland : ContainerVisual, IContentHost, IDisposable
MS\Internal\PtsHost\ParagraphElementVisual.cs (1)
16internal class ParagraphElementVisual : ContainerVisual
MS\Internal\PtsHost\RowVisual.cs (1)
22internal sealed class RowVisual : ContainerVisual
37 instantiations of ContainerVisual
PresentationCore (10)
MS\Internal\Ink\Renderer.cs (4)
171_rootVisual = new ContainerVisual(); 172_highlightersRoot = new ContainerVisual(); 173_regularInkVisuals = new ContainerVisual(); 174_incrementalRenderingVisuals = new ContainerVisual();
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (5)
199_visualTarget.RootVisual = new ContainerVisual(); 789si.StrokeCV = new ContainerVisual(); 843si.StrokeRTICV = new ContainerVisual(); 1070_mainContainerVisual = new ContainerVisual(); 1071_mainRawInkContainerVisual = new ContainerVisual();
System\Windows\Media\BitmapCacheBrush.cs (1)
40_dummyVisual = new ContainerVisual();
PresentationFramework (27)
MS\Internal\Documents\DocumentPageHost.cs (1)
96pageVisualHost = new ContainerVisual();
MS\Internal\PtsHost\FigureParaClient.cs (5)
369_visual.Children.Add(new ContainerVisual()); 370_visual.Children.Add(new ContainerVisual()); 392visualChildren.Add(new ContainerVisual()); 399visualChildren.Add(new ContainerVisual()); 449visualChildren.Add(new ContainerVisual());
MS\Internal\PtsHost\FloaterParaClient.cs (5)
376_visual.Children.Add(new ContainerVisual()); 377_visual.Children.Add(new ContainerVisual()); 399visualChildren.Add(new ContainerVisual()); 406visualChildren.Add(new ContainerVisual()); 456visualChildren.Add(new ContainerVisual());
MS\Internal\PtsHost\PtsPage.cs (6)
610_visual = new ContainerVisual(); 1015_visual.Children.Add(new ContainerVisual()); 1016_visual.Children.Add(new ContainerVisual()); 1039visualChildren.Add(new ContainerVisual()); 1046visualChildren.Add(new ContainerVisual()); 1155visualChildren.Add(new ContainerVisual());
MS\Internal\PtsHost\SubpageParaClient.cs (5)
302_visual.Children.Add(new ContainerVisual()); 303_visual.Children.Add(new ContainerVisual()); 326visualChildren.Add(new ContainerVisual()); 333visualChildren.Add(new ContainerVisual()); 383visualChildren.Add(new ContainerVisual());
MS\Internal\Text\ComplexLine.cs (1)
180ContainerVisual proxyVisual = new ContainerVisual();
System\Windows\Controls\ViewBox.cs (1)
154_internalVisual = new ContainerVisual();
System\Windows\Documents\RubberbandSelector.cs (1)
202ContainerVisual root = new ContainerVisual();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2880bamlType.DefaultConstructor = delegate() { return new System.Windows.Media.ContainerVisual(); };
System\Windows\Markup\KnownTypes.cs (1)
1182case KnownElements.ContainerVisual: o = new System.Windows.Media.ContainerVisual(); break;
123 references to ContainerVisual
PresentationCore (25)
MS\Internal\Ink\Renderer.cs (14)
305ContainerVisual parent = drawingAttributes.IsHighlighter ? GetContainerVisual(drawingAttributes) : _incrementalRenderingVisuals; 357ContainerVisual correctParent 360ContainerVisual currentParent 361= VisualTreeHelper.GetParent(visual) as ContainerVisual; 531ContainerVisual parent = GetContainerVisual(visual.Stroke.DrawingAttributes); 580VisualCollection children = ((ContainerVisual)(VisualTreeHelper.GetParent(precedingVisual))).Children; 590ContainerVisual parent = GetContainerVisual(visual.Stroke.DrawingAttributes); 602ContainerVisual parent = (ContainerVisual)(VisualTreeHelper.GetParent(visual)); 645private ContainerVisual GetContainerVisual(DrawingAttributes drawingAttributes) 684private ContainerVisual _rootVisual; 685private ContainerVisual _highlightersRoot; 686private ContainerVisual _incrementalRenderingVisuals; 687private ContainerVisual _regularInkVisuals;
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (9)
30ContainerVisual _strokeCV; // App thread rendering CV 31ContainerVisual _strokeRTICV; // real time input CV 73public ContainerVisual StrokeCV 78public ContainerVisual StrokeRTICV 545((ContainerVisual)si.StrokeHV.VisualTarget.RootVisual).Children.Remove(si.StrokeRTICV); 638((ContainerVisual)siNext.StrokeHV.VisualTarget.RootVisual).Children.Remove(siNext.StrokeRTICV); 854((ContainerVisual)si.StrokeHV.VisualTarget.RootVisual).Children.Add(si.StrokeRTICV); 1206private ContainerVisual _mainContainerVisual; 1207private ContainerVisual _mainRawInkContainerVisual;
System\Windows\Media\BitmapCacheBrush.cs (2)
33private ContainerVisual AutoWrapVisual 390private ContainerVisual _dummyVisual;
PresentationFramework (98)
MS\Internal\Documents\DocumentPageHost.cs (4)
54ContainerVisual pageVisualHost = currentParent as ContainerVisual; 85ContainerVisual pageVisualHost; 88pageVisualHost = VisualTreeHelper.GetParent(_pageVisual) as ContainerVisual;
MS\Internal\PtsHost\FigureParaClient.cs (10)
363ContainerVisual pageContentVisual; 364ContainerVisual floatingElementsVisual; 373pageContentVisual = (ContainerVisual)_visual.Children[0]; 374floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 396else if (visualChildren.Count == 1 && !(visualChildren[0] is ContainerVisual)) 401Debug.Assert(visualChildren.Count == 1 && visualChildren[0] is ContainerVisual); 402ContainerVisual trackVisual = (ContainerVisual)visualChildren[0]; 456ContainerVisual trackVisual = (ContainerVisual)visualChildren[index];
MS\Internal\PtsHost\FloaterParaClient.cs (10)
370ContainerVisual pageContentVisual; 371ContainerVisual floatingElementsVisual; 380pageContentVisual = (ContainerVisual)_visual.Children[0]; 381floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 403else if (visualChildren.Count == 1 && !(visualChildren[0] is ContainerVisual)) 408Debug.Assert(visualChildren.Count == 1 && visualChildren[0] is ContainerVisual); 409ContainerVisual trackVisual = (ContainerVisual)visualChildren[0]; 463ContainerVisual trackVisual = (ContainerVisual)visualChildren[index];
MS\Internal\PtsHost\FlowDocumentPage.cs (4)
858ContainerVisual pageVisual = null; 1007private void DestroyVisualLinks(ContainerVisual visual) 1020Invariant.Assert(vc[index] is ContainerVisual, "The children should always derive from ContainerVisual"); 1021DestroyVisualLinks((ContainerVisual)(vc[index]));
MS\Internal\PtsHost\Line.cs (3)
377internal ContainerVisual CreateVisual() 422ContainerVisual parent = currentParent as ContainerVisual;
MS\Internal\PtsHost\PtsHelper.cs (6)
36internal static void UpdateMirroringTransform(FlowDirection parentFD, FlowDirection childFD, ContainerVisual visualChild, double width) 56internal static void ClipChildrenToRect(ContainerVisual visual, Rect rect) 62((ContainerVisual)visualChildren[index]).Clip = new RectangleGeometry(rect); 69internal static void UpdateFloatingElementVisuals(ContainerVisual visual, List<BaseParaClient> floatingElementList) 271ContainerVisual parent = currentParent as ContainerVisual;
MS\Internal\PtsHost\PtsPage.cs (11)
606internal ContainerVisual GetPageVisual() 1009ContainerVisual pageContentVisual; 1010ContainerVisual floatingElementsVisual; 1019pageContentVisual = (ContainerVisual)_visual.Children[0]; 1020floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 1048Debug.Assert(visualChildren.Count == 1 && visualChildren[0] is ContainerVisual); 1049ContainerVisual trackVisual = (ContainerVisual)visualChildren[0]; 1161ContainerVisual trackVisual = (ContainerVisual)visualChildren[index]; 1485private ContainerVisual _visual;
MS\Internal\PtsHost\SubpageParaClient.cs (9)
296ContainerVisual pageContentVisual; 297ContainerVisual floatingElementsVisual; 306pageContentVisual = (ContainerVisual)_visual.Children[0]; 307floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 335Debug.Assert(visualChildren.Count == 1 && visualChildren[0] is ContainerVisual); 336ContainerVisual trackVisual = (ContainerVisual)visualChildren[0]; 389ContainerVisual trackVisual = (ContainerVisual)visualChildren[index];
MS\Internal\PtsHost\TableParaClient.cs (2)
1578ContainerVisual parent = currentParent as ContainerVisual;
MS\Internal\PtsHost\TextParaClient.cs (27)
60ContainerVisual lineContainerVisual = _visual; 156ContainerVisual lineContainerVisual = _visual; 1412ContainerVisual lineVisual = (ContainerVisual) lineVisuals[index]; 1472ContainerVisual lineVisual = CreateLineVisual(ref arrayLineDesc[index], Paragraph.ParagraphStartCharacterPosition); 1488ContainerVisual lineVisual = (ContainerVisual) lineVisuals[index]; 3205ContainerVisual visual, 3247ContainerVisual lineVisual = line.CreateVisual(); 3262ContainerVisual lineVisual = (ContainerVisual) visualChildren[index]; 3292ContainerVisual lineVisual = line.CreateVisual(); 3303ContainerVisual lineVisual = (ContainerVisual) visualChildren[index]; 3333private ContainerVisual CreateLineVisual(ref PTS.FSLINEDESCRIPTIONSINGLE lineDesc, int cpTextParaStart) 3349ContainerVisual lineVisual = line.CreateVisual(); 3361ContainerVisual visual, 3448ContainerVisual lineVisual = CreateLineVisual(ref lineDesc, cpTextParaStart); 3468ContainerVisual lineVisual = CreateLineVisual(ref lineDesc, cpTextParaStart); 3508ContainerVisual lineVisual = CreateLineVisual(ref lineDesc, cpTextParaStart); 3579ContainerVisual visual, 3641ContainerVisual lineVisual = line.CreateVisual(); 3657ContainerVisual lineVisual = (ContainerVisual) visualChildren[index]; 3710ContainerVisual lineVisual = line.CreateVisual(); 3721ContainerVisual lineVisual = (ContainerVisual)visualChildren[index];
MS\Internal\PtsHost\UIElementParaClient.cs (2)
117ContainerVisual parent = currentParent as ContainerVisual;
MS\Internal\Text\ComplexLine.cs (3)
170ContainerVisual parent = currentParent as ContainerVisual; 180ContainerVisual proxyVisual = new ContainerVisual();
System\Windows\Controls\ViewBox.cs (2)
148private ContainerVisual InternalVisual 446private ContainerVisual _internalVisual;
System\Windows\Documents\RubberbandSelector.cs (2)
202ContainerVisual root = new ContainerVisual(); 221private void CloneVisualTree(ContainerVisual parent, Visual old)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
193case 99: t = () => typeof(ContainerVisual); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2878typeof(System.Windows.Media.ContainerVisual),
System\Windows\Markup\KnownTypes.cs (1)
5653case KnownElements.ContainerVisual: t = typeof(System.Windows.Media.ContainerVisual); break;