124 references to Children
PresentationCore (27)
MS\Internal\Ink\Renderer.cs (11)
178VisualCollection rootChildren = _rootVisual.Children; 308parent.Children.Add(visual); 536for (int j = parent.Children.Count - 1; j >= 0; j--) 538if (parent.Children[j] is StrokeVisual) 544parent.Children.Insert(i, visual); 580VisualCollection children = ((ContainerVisual)(VisualTreeHelper.GetParent(precedingVisual))).Children; 591parent.Children.Insert(0, visual); 605VisualCollection children = parent.Children; 611hcVisual.Children.Count == 0 && 663_highlightersRoot.Children.Add(hcVisual); 669_highlightersRoot.Children.Add(hcVisual);
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (12)
545((ContainerVisual)si.StrokeHV.VisualTarget.RootVisual).Children.Remove(si.StrokeRTICV); 638((ContainerVisual)siNext.StrokeHV.VisualTarget.RootVisual).Children.Remove(siNext.StrokeRTICV); 800_mainRawInkContainerVisual.Children.Add(si.StrokeCV); 819si.StrokeCV.Children.Add(visual); 854((ContainerVisual)si.StrokeHV.VisualTarget.RootVisual).Children.Add(si.StrokeRTICV); 869si.StrokeRTICV.Children.Add(visual); 925_mainRawInkContainerVisual.Children.Remove(si.StrokeCV); 1072_mainContainerVisual.Children.Add(_mainRawInkContainerVisual); 1098_mainContainerVisual.Children.Add(_rawInkHostVisual1); 1099_mainContainerVisual.Children.Add(_rawInkHostVisual2); 1147_mainContainerVisual.Children.Remove(_rawInkHostVisual1); 1148_mainContainerVisual.Children.Remove(_rawInkHostVisual2);
System\Windows\Media\BitmapCacheBrush.cs (4)
188AutoWrapVisual.Children.Remove((Visual)e.OldValue); 189AutoWrapVisual.Children.Add((Visual)e.NewValue); 245AutoWrapVisual.Children.Add(Target); 249AutoWrapVisual.Children.Remove(Target);
PresentationFramework (97)
MS\Internal\Documents\DocumentPageHost.cs (2)
90pageVisualHost.Children.Clear(); 98pageVisualHost.Children.Add(_pageVisual);
MS\Internal\Documents\UIElementIsland.cs (2)
47Children.Add(_child); 166Children.Clear();
MS\Internal\Ink\LassoHelper.cs (1)
158_containerVisual.Children.Add(dv);
MS\Internal\PtsHost\ContainerParaClient.cs (2)
201PtsHelper.UpdateParaListVisuals(PtsContext, _visual.Children, fskupdInherited, arrayParaDesc); 205_visual.Children.Clear();
MS\Internal\PtsHost\FigureParaClient.cs (12)
366if(_visual.Children.Count != 2) 368_visual.Children.Clear(); 369_visual.Children.Add(new ContainerVisual()); 370_visual.Children.Add(new ContainerVisual()); 373pageContentVisual = (ContainerVisual)_visual.Children[0]; 374floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 388VisualCollection visualChildren = pageContentVisual.Children; 404PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupdInherited, ref subpageDetails.u.simple.trackdescr); 426VisualCollection visualChildren = pageContentVisual.Children; 443visualChildren = sectionVisual.Children; 458PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupdInherited, ref arrayColumnDesc[index]); 465_visual.Children.Clear();
MS\Internal\PtsHost\FloaterParaClient.cs (12)
373if(_visual.Children.Count != 2) 375_visual.Children.Clear(); 376_visual.Children.Add(new ContainerVisual()); 377_visual.Children.Add(new ContainerVisual()); 380pageContentVisual = (ContainerVisual)_visual.Children[0]; 381floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 395VisualCollection visualChildren = pageContentVisual.Children; 411PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupdInherited, ref subpageDetails.u.simple.trackdescr); 433VisualCollection visualChildren = pageContentVisual.Children; 450visualChildren = sectionVisual.Children; 465PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupdInherited, ref arrayColumnDesc[index]); 472_visual.Children.Clear();
MS\Internal\PtsHost\FlowDocumentPage.cs (2)
815this.PageVisual.Children.Clear(); 1009VisualCollection vc = visual.Children;
MS\Internal\PtsHost\Line.cs (2)
399VisualCollection visualChildren = visual.Children; 424parent.Children.Remove(inlineObject.UIElementIsland);
MS\Internal\PtsHost\ListParaClient.cs (2)
124PtsHelper.UpdateParaListVisuals(PtsContext, _visual.Children, fskupdInherited, arrayParaDesc); 128_visual.Children.Clear();
MS\Internal\PtsHost\PageVisual.cs (2)
66VisualCollection vc = this.Children; 72VisualCollection vc = this.Children;
MS\Internal\PtsHost\PtsHelper.cs (3)
58VisualCollection visualChildren = visual.Children; 71VisualCollection visualChildren = visual.Children; 273parent.Children.Remove(paraClient.Visual);
MS\Internal\PtsHost\PtsPage.cs (14)
618_visual.Children.Clear(); 1012if(_visual.Children.Count != 2) 1014_visual.Children.Clear(); 1015_visual.Children.Add(new ContainerVisual()); 1016_visual.Children.Add(new ContainerVisual()); 1019pageContentVisual = (ContainerVisual)_visual.Children[0]; 1020floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 1035visualChildren = pageContentVisual.Children; 1050PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, pageDetails.fskupd, ref pageDetails.u.simple.trackdescr); 1075visualChildren = pageContentVisual.Children; 1091pageContentVisual.Children.Clear(); 1149VisualCollection visualChildren = visual.Children; 1162PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupd, ref arrayColumnDesc[index]); 1176visual.Children.Clear();
MS\Internal\PtsHost\SubpageParaClient.cs (12)
299if(_visual.Children.Count != 2) 301_visual.Children.Clear(); 302_visual.Children.Add(new ContainerVisual()); 303_visual.Children.Add(new ContainerVisual()); 306pageContentVisual = (ContainerVisual)_visual.Children[0]; 307floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 322VisualCollection visualChildren = pageContentVisual.Children; 338PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupdInherited, ref subpageDetails.u.simple.trackdescr); 360VisualCollection visualChildren = pageContentVisual.Children; 377visualChildren = sectionVisual.Children; 391PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupdInherited, ref arrayColumnDesc[index]); 398_visual.Children.Clear();
MS\Internal\PtsHost\TableParaClient.cs (5)
188_visual.Children.Clear(); 214VisualCollection rowVisualsCollection = _visual.Children; 1542cellVisualsCollection = rowVisual.Children; 1580parent.Children.Remove(cellParaClient.Visual); 1686cellVisualsCollection = rowVisual.Children;
MS\Internal\PtsHost\TextParaClient.cs (12)
59VisualCollection visualChildren = _visual.Children; 79if(_lineIndexFirstVisual == -1 && lineContainerVisual.Children.Count > 0) 84SyncUpdateDeferredLineVisuals(lineContainerVisual.Children, ref textDetails.u.full, ignoreUpdateInfo); 92lineContainerVisual.Children.Clear(); 96if(lineContainerVisual.Children.Count == 0) 117lineContainerVisual.Children.Clear(); 1836lineCount = _visual.Children.Count; 3215VisualCollection visualChildren = visual.Children; 3365VisualCollection visualChildren = visual.Children; 3585VisualCollection visualChildren = visual.Children; 3615lineVisuals = lineVisual.Children; 3684lineVisuals = lineVisual.Children;
MS\Internal\PtsHost\UIElementParaClient.cs (6)
111if (_visual.Children.Count != 1 || _visual.Children[0] != uiElementIsland) 119parent.Children.Remove(uiElementIsland); 122_visual.Children.Clear(); 123_visual.Children.Add(uiElementIsland); 129_visual.Children.Clear();
MS\Internal\Text\ComplexLine.cs (2)
172parent.Children.Remove(inlineObject.Element); 207proxyVisual.Children.Add(inlineObject.Element);
System\Windows\Controls\ViewBox.cs (2)
165VisualCollection vc = InternalVisual.Children; 171VisualCollection vc = InternalVisual.Children;
System\Windows\Documents\RubberbandSelector.cs (2)
205root.Children.Add(visual); 224parent.Children.Add(visual);