6 types derived from ContainerVisual
PresentationCore (3)
MS\Internal\Ink\Renderer.cs (1)
144private class HighlighterContainerVisual : ContainerVisual
System\Windows\Media\DrawingVisual.cs (1)
25public class DrawingVisual : ContainerVisual
System\Windows\Media\HostVisual.cs (1)
31public class HostVisual : ContainerVisual
PresentationFramework (3)
MS\Internal\Documents\UIElementIsland.cs (1)
20internal class UIElementIsland : ContainerVisual, IContentHost, IDisposable
MS\Internal\PtsHost\ParagraphElementVisual.cs (1)
18internal class ParagraphElementVisual : ContainerVisual
MS\Internal\PtsHost\RowVisual.cs (1)
26internal sealed class RowVisual : ContainerVisual
37 instantiations of ContainerVisual
PresentationCore (10)
MS\Internal\Ink\Renderer.cs (4)
179_rootVisual = new ContainerVisual(); 180_highlightersRoot = new ContainerVisual(); 181_regularInkVisuals = new ContainerVisual(); 182_incrementalRenderingVisuals = new ContainerVisual();
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (5)
213_visualTarget.RootVisual = new ContainerVisual(); 803si.StrokeCV = new ContainerVisual(); 857si.StrokeRTICV = new ContainerVisual(); 1084_mainContainerVisual = new ContainerVisual(); 1085_mainRawInkContainerVisual = new ContainerVisual();
System\Windows\Media\BitmapCacheBrush.cs (1)
48_dummyVisual = new ContainerVisual();
PresentationFramework (27)
MS\Internal\Documents\DocumentPageHost.cs (1)
97pageVisualHost = new ContainerVisual();
MS\Internal\PtsHost\FigureParaClient.cs (5)
375_visual.Children.Add(new ContainerVisual()); 376_visual.Children.Add(new ContainerVisual()); 398visualChildren.Add(new ContainerVisual()); 405visualChildren.Add(new ContainerVisual()); 455visualChildren.Add(new ContainerVisual());
MS\Internal\PtsHost\FloaterParaClient.cs (5)
381_visual.Children.Add(new ContainerVisual()); 382_visual.Children.Add(new ContainerVisual()); 404visualChildren.Add(new ContainerVisual()); 411visualChildren.Add(new ContainerVisual()); 461visualChildren.Add(new ContainerVisual());
MS\Internal\PtsHost\PtsPage.cs (6)
616_visual = new ContainerVisual(); 1021_visual.Children.Add(new ContainerVisual()); 1022_visual.Children.Add(new ContainerVisual()); 1045visualChildren.Add(new ContainerVisual()); 1052visualChildren.Add(new ContainerVisual()); 1161visualChildren.Add(new ContainerVisual());
MS\Internal\PtsHost\SubpageParaClient.cs (5)
307_visual.Children.Add(new ContainerVisual()); 308_visual.Children.Add(new ContainerVisual()); 331visualChildren.Add(new ContainerVisual()); 338visualChildren.Add(new ContainerVisual()); 388visualChildren.Add(new ContainerVisual());
MS\Internal\Text\ComplexLine.cs (1)
185ContainerVisual proxyVisual = new ContainerVisual();
System\Windows\Controls\ViewBox.cs (1)
160_internalVisual = new ContainerVisual();
System\Windows\Documents\RubberbandSelector.cs (1)
212ContainerVisual root = new ContainerVisual();
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2882bamlType.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)
313ContainerVisual parent = drawingAttributes.IsHighlighter ? GetContainerVisual(drawingAttributes) : _incrementalRenderingVisuals; 365ContainerVisual correctParent 368ContainerVisual currentParent 369= VisualTreeHelper.GetParent(visual) as ContainerVisual; 539ContainerVisual parent = GetContainerVisual(visual.Stroke.DrawingAttributes); 588VisualCollection children = ((ContainerVisual)(VisualTreeHelper.GetParent(precedingVisual))).Children; 598ContainerVisual parent = GetContainerVisual(visual.Stroke.DrawingAttributes); 610ContainerVisual parent = (ContainerVisual)(VisualTreeHelper.GetParent(visual)); 653private ContainerVisual GetContainerVisual(DrawingAttributes drawingAttributes) 692private ContainerVisual _rootVisual; 693private ContainerVisual _highlightersRoot; 694private ContainerVisual _incrementalRenderingVisuals; 695private ContainerVisual _regularInkVisuals;
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (9)
44ContainerVisual _strokeCV; // App thread rendering CV 45ContainerVisual _strokeRTICV; // real time input CV 87public ContainerVisual StrokeCV 92public ContainerVisual StrokeRTICV 559((ContainerVisual)si.StrokeHV.VisualTarget.RootVisual).Children.Remove(si.StrokeRTICV); 652((ContainerVisual)siNext.StrokeHV.VisualTarget.RootVisual).Children.Remove(siNext.StrokeRTICV); 868((ContainerVisual)si.StrokeHV.VisualTarget.RootVisual).Children.Add(si.StrokeRTICV); 1220private ContainerVisual _mainContainerVisual; 1221private ContainerVisual _mainRawInkContainerVisual;
System\Windows\Media\BitmapCacheBrush.cs (2)
41private ContainerVisual AutoWrapVisual 398private ContainerVisual _dummyVisual;
PresentationFramework (98)
MS\Internal\Documents\DocumentPageHost.cs (4)
55ContainerVisual pageVisualHost = currentParent as ContainerVisual; 86ContainerVisual pageVisualHost; 89pageVisualHost = VisualTreeHelper.GetParent(_pageVisual) as ContainerVisual;
MS\Internal\PtsHost\FigureParaClient.cs (10)
369ContainerVisual pageContentVisual; 370ContainerVisual floatingElementsVisual; 379pageContentVisual = (ContainerVisual)_visual.Children[0]; 380floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 402else if (visualChildren.Count == 1 && !(visualChildren[0] is ContainerVisual)) 407Debug.Assert(visualChildren.Count == 1 && visualChildren[0] is ContainerVisual); 408ContainerVisual trackVisual = (ContainerVisual)visualChildren[0]; 462ContainerVisual trackVisual = (ContainerVisual)visualChildren[index];
MS\Internal\PtsHost\FloaterParaClient.cs (10)
375ContainerVisual pageContentVisual; 376ContainerVisual floatingElementsVisual; 385pageContentVisual = (ContainerVisual)_visual.Children[0]; 386floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 408else if (visualChildren.Count == 1 && !(visualChildren[0] is ContainerVisual)) 413Debug.Assert(visualChildren.Count == 1 && visualChildren[0] is ContainerVisual); 414ContainerVisual trackVisual = (ContainerVisual)visualChildren[0]; 468ContainerVisual trackVisual = (ContainerVisual)visualChildren[index];
MS\Internal\PtsHost\FlowDocumentPage.cs (4)
866ContainerVisual pageVisual = null; 1015private void DestroyVisualLinks(ContainerVisual visual) 1028Invariant.Assert(vc[index] is ContainerVisual, "The children should always derive from ContainerVisual"); 1029DestroyVisualLinks((ContainerVisual)(vc[index]));
MS\Internal\PtsHost\Line.cs (3)
383internal ContainerVisual CreateVisual() 428ContainerVisual parent = currentParent as ContainerVisual;
MS\Internal\PtsHost\PtsHelper.cs (6)
41internal static void UpdateMirroringTransform(FlowDirection parentFD, FlowDirection childFD, ContainerVisual visualChild, double width) 61internal static void ClipChildrenToRect(ContainerVisual visual, Rect rect) 67((ContainerVisual)visualChildren[index]).Clip = new RectangleGeometry(rect); 74internal static void UpdateFloatingElementVisuals(ContainerVisual visual, List<BaseParaClient> floatingElementList) 276ContainerVisual parent = currentParent as ContainerVisual;
MS\Internal\PtsHost\PtsPage.cs (11)
612internal ContainerVisual GetPageVisual() 1015ContainerVisual pageContentVisual; 1016ContainerVisual floatingElementsVisual; 1025pageContentVisual = (ContainerVisual)_visual.Children[0]; 1026floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 1054Debug.Assert(visualChildren.Count == 1 && visualChildren[0] is ContainerVisual); 1055ContainerVisual trackVisual = (ContainerVisual)visualChildren[0]; 1167ContainerVisual trackVisual = (ContainerVisual)visualChildren[index]; 1491private ContainerVisual _visual;
MS\Internal\PtsHost\SubpageParaClient.cs (9)
301ContainerVisual pageContentVisual; 302ContainerVisual floatingElementsVisual; 311pageContentVisual = (ContainerVisual)_visual.Children[0]; 312floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 340Debug.Assert(visualChildren.Count == 1 && visualChildren[0] is ContainerVisual); 341ContainerVisual trackVisual = (ContainerVisual)visualChildren[0]; 394ContainerVisual trackVisual = (ContainerVisual)visualChildren[index];
MS\Internal\PtsHost\TableParaClient.cs (2)
1584ContainerVisual parent = currentParent as ContainerVisual;
MS\Internal\PtsHost\TextParaClient.cs (27)
66ContainerVisual lineContainerVisual = _visual; 162ContainerVisual lineContainerVisual = _visual; 1418ContainerVisual lineVisual = (ContainerVisual) lineVisuals[index]; 1478ContainerVisual lineVisual = CreateLineVisual(ref arrayLineDesc[index], Paragraph.ParagraphStartCharacterPosition); 1494ContainerVisual lineVisual = (ContainerVisual) lineVisuals[index]; 3211ContainerVisual visual, 3253ContainerVisual lineVisual = line.CreateVisual(); 3268ContainerVisual lineVisual = (ContainerVisual) visualChildren[index]; 3298ContainerVisual lineVisual = line.CreateVisual(); 3309ContainerVisual lineVisual = (ContainerVisual) visualChildren[index]; 3339private ContainerVisual CreateLineVisual(ref PTS.FSLINEDESCRIPTIONSINGLE lineDesc, int cpTextParaStart) 3355ContainerVisual lineVisual = line.CreateVisual(); 3367ContainerVisual visual, 3454ContainerVisual lineVisual = CreateLineVisual(ref lineDesc, cpTextParaStart); 3474ContainerVisual lineVisual = CreateLineVisual(ref lineDesc, cpTextParaStart); 3514ContainerVisual lineVisual = CreateLineVisual(ref lineDesc, cpTextParaStart); 3585ContainerVisual visual, 3647ContainerVisual lineVisual = line.CreateVisual(); 3663ContainerVisual lineVisual = (ContainerVisual) visualChildren[index]; 3716ContainerVisual lineVisual = line.CreateVisual(); 3727ContainerVisual lineVisual = (ContainerVisual)visualChildren[index];
MS\Internal\PtsHost\UIElementParaClient.cs (2)
121ContainerVisual parent = currentParent as ContainerVisual;
MS\Internal\Text\ComplexLine.cs (3)
175ContainerVisual parent = currentParent as ContainerVisual; 185ContainerVisual proxyVisual = new ContainerVisual();
System\Windows\Controls\ViewBox.cs (2)
154private ContainerVisual InternalVisual 452private ContainerVisual _internalVisual;
System\Windows\Documents\RubberbandSelector.cs (2)
212ContainerVisual root = new ContainerVisual(); 231private void CloneVisualTree(ContainerVisual parent, Visual old)
System\Windows\Markup\Baml2006\Baml2006KnownTypes.cs (1)
195case 99: t = () => typeof(ContainerVisual); break;
System\Windows\Markup\Baml2006\WpfGeneratedKnownTypes.cs (1)
2880typeof(System.Windows.Media.ContainerVisual),
System\Windows\Markup\KnownTypes.cs (1)
5653case KnownElements.ContainerVisual: t = typeof(System.Windows.Media.ContainerVisual); break;