112 references to Children
PresentationCore (15)
Core\CSharp\MS\Internal\Ink\Renderer.cs (11)
192VisualCollection rootChildren = _rootVisual.Children; 331parent.Children.Add(visual); 562for (int j = parent.Children.Count - 1; j >= 0; j--) 564if (parent.Children[j] is StrokeVisual) 570parent.Children.Insert(i, visual); 606VisualCollection children = ((ContainerVisual)(VisualTreeHelper.GetParent(precedingVisual))).Children; 617parent.Children.Insert(0, visual); 631VisualCollection children = parent.Children; 637hcVisual.Children.Count == 0 && 689_highlightersRoot.Children.Add(hcVisual); 695_highlightersRoot.Children.Add(hcVisual);
Core\CSharp\System\Windows\Media\BitmapCacheBrush.cs (4)
199AutoWrapVisual.Children.Remove((Visual)e.OldValue); 200AutoWrapVisual.Children.Add((Visual)e.NewValue); 256AutoWrapVisual.Children.Add(Target); 260AutoWrapVisual.Children.Remove(Target);
PresentationFramework (97)
src\Framework\MS\Internal\Documents\DocumentPageHost.cs (2)
92pageVisualHost.Children.Clear(); 100pageVisualHost.Children.Add(_pageVisual);
src\Framework\MS\Internal\Documents\UIElementIsland.cs (2)
51Children.Add(_child); 170Children.Clear();
src\Framework\MS\Internal\Ink\LassoHelper.cs (1)
167_containerVisual.Children.Add(dv);
src\Framework\MS\Internal\PtsHost\ContainerParaClient.cs (2)
239PtsHelper.UpdateParaListVisuals(PtsContext, _visual.Children, fskupdInherited, arrayParaDesc); 243_visual.Children.Clear();
src\Framework\MS\Internal\PtsHost\FigureParaClient.cs (12)
423if(_visual.Children.Count != 2) 425_visual.Children.Clear(); 426_visual.Children.Add(new ContainerVisual()); 427_visual.Children.Add(new ContainerVisual()); 430pageContentVisual = (ContainerVisual)_visual.Children[0]; 431floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 445VisualCollection visualChildren = pageContentVisual.Children; 461PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupdInherited, ref subpageDetails.u.simple.trackdescr); 483VisualCollection visualChildren = pageContentVisual.Children; 500visualChildren = sectionVisual.Children; 515PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupdInherited, ref arrayColumnDesc[index]); 522_visual.Children.Clear();
src\Framework\MS\Internal\PtsHost\FloaterParaClient.cs (12)
427if(_visual.Children.Count != 2) 429_visual.Children.Clear(); 430_visual.Children.Add(new ContainerVisual()); 431_visual.Children.Add(new ContainerVisual()); 434pageContentVisual = (ContainerVisual)_visual.Children[0]; 435floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 449VisualCollection visualChildren = pageContentVisual.Children; 465PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupdInherited, ref subpageDetails.u.simple.trackdescr); 487VisualCollection visualChildren = pageContentVisual.Children; 504visualChildren = sectionVisual.Children; 519PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupdInherited, ref arrayColumnDesc[index]); 526_visual.Children.Clear();
src\Framework\MS\Internal\PtsHost\FlowDocumentPage.cs (2)
844this.PageVisual.Children.Clear(); 1039VisualCollection vc = visual.Children;
src\Framework\MS\Internal\PtsHost\Line.cs (2)
408VisualCollection visualChildren = visual.Children; 433parent.Children.Remove(inlineObject.UIElementIsland);
src\Framework\MS\Internal\PtsHost\ListParaClient.cs (2)
138PtsHelper.UpdateParaListVisuals(PtsContext, _visual.Children, fskupdInherited, arrayParaDesc); 142_visual.Children.Clear();
src\Framework\MS\Internal\PtsHost\PageVisual.cs (2)
75VisualCollection vc = this.Children; 81VisualCollection vc = this.Children;
src\Framework\MS\Internal\PtsHost\PtsHelper.cs (3)
67VisualCollection visualChildren = visual.Children; 80VisualCollection visualChildren = visual.Children; 300parent.Children.Remove(paraClient.Visual);
src\Framework\MS\Internal\PtsHost\PtsPage.cs (14)
686_visual.Children.Clear(); 1121if(_visual.Children.Count != 2) 1123_visual.Children.Clear(); 1124_visual.Children.Add(new ContainerVisual()); 1125_visual.Children.Add(new ContainerVisual()); 1128pageContentVisual = (ContainerVisual)_visual.Children[0]; 1129floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 1144visualChildren = pageContentVisual.Children; 1159PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, pageDetails.fskupd, ref pageDetails.u.simple.trackdescr); 1184visualChildren = pageContentVisual.Children; 1200pageContentVisual.Children.Clear(); 1264VisualCollection visualChildren = visual.Children; 1277PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupd, ref arrayColumnDesc[index]); 1291visual.Children.Clear();
src\Framework\MS\Internal\PtsHost\SubpageParaClient.cs (12)
347if(_visual.Children.Count != 2) 349_visual.Children.Clear(); 350_visual.Children.Add(new ContainerVisual()); 351_visual.Children.Add(new ContainerVisual()); 354pageContentVisual = (ContainerVisual)_visual.Children[0]; 355floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 370VisualCollection visualChildren = pageContentVisual.Children; 386PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupdInherited, ref subpageDetails.u.simple.trackdescr); 408VisualCollection visualChildren = pageContentVisual.Children; 425visualChildren = sectionVisual.Children; 439PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupdInherited, ref arrayColumnDesc[index]); 446_visual.Children.Clear();
src\Framework\MS\Internal\PtsHost\TableParaClient.cs (5)
214_visual.Children.Clear(); 240VisualCollection rowVisualsCollection = _visual.Children; 1655cellVisualsCollection = rowVisual.Children; 1693parent.Children.Remove(cellParaClient.Visual); 1804cellVisualsCollection = rowVisual.Children;
src\Framework\MS\Internal\PtsHost\TextParaClient.cs (12)
77VisualCollection visualChildren = _visual.Children; 97if(_lineIndexFirstVisual == -1 && lineContainerVisual.Children.Count > 0) 102SyncUpdateDeferredLineVisuals(lineContainerVisual.Children, ref textDetails.u.full, ignoreUpdateInfo); 110lineContainerVisual.Children.Clear(); 114if(lineContainerVisual.Children.Count == 0) 135lineContainerVisual.Children.Clear(); 2051lineCount = _visual.Children.Count; 3478VisualCollection visualChildren = visual.Children; 3632VisualCollection visualChildren = visual.Children; 3866VisualCollection visualChildren = visual.Children; 3896lineVisuals = lineVisual.Children; 3965lineVisuals = lineVisual.Children;
src\Framework\MS\Internal\PtsHost\UIElementParaClient.cs (6)
122if (_visual.Children.Count != 1 || _visual.Children[0] != uiElementIsland) 130parent.Children.Remove(uiElementIsland); 133_visual.Children.Clear(); 134_visual.Children.Add(uiElementIsland); 140_visual.Children.Clear();
src\Framework\MS\Internal\Text\ComplexLine.cs (2)
180parent.Children.Remove(inlineObject.Element); 215proxyVisual.Children.Add(inlineObject.Element);
src\Framework\System\Windows\Controls\ViewBox.cs (2)
179VisualCollection vc = InternalVisual.Children; 185VisualCollection vc = InternalVisual.Children;
src\Framework\System\Windows\Documents\RubberbandSelector.cs (2)
312root.Children.Add(visual); 331parent.Children.Add(visual);