124 references to Children
PresentationCore (27)
MS\Internal\Ink\Renderer.cs (11)
186VisualCollection rootChildren = _rootVisual.Children; 316parent.Children.Add(visual); 544for (int j = parent.Children.Count - 1; j >= 0; j--) 546if (parent.Children[j] is StrokeVisual) 552parent.Children.Insert(i, visual); 588VisualCollection children = ((ContainerVisual)(VisualTreeHelper.GetParent(precedingVisual))).Children; 599parent.Children.Insert(0, visual); 613VisualCollection children = parent.Children; 619hcVisual.Children.Count == 0 && 671_highlightersRoot.Children.Add(hcVisual); 677_highlightersRoot.Children.Add(hcVisual);
System\Windows\Input\Stylus\Common\DynamicRenderer.cs (12)
559((ContainerVisual)si.StrokeHV.VisualTarget.RootVisual).Children.Remove(si.StrokeRTICV); 652((ContainerVisual)siNext.StrokeHV.VisualTarget.RootVisual).Children.Remove(siNext.StrokeRTICV); 814_mainRawInkContainerVisual.Children.Add(si.StrokeCV); 833si.StrokeCV.Children.Add(visual); 868((ContainerVisual)si.StrokeHV.VisualTarget.RootVisual).Children.Add(si.StrokeRTICV); 883si.StrokeRTICV.Children.Add(visual); 939_mainRawInkContainerVisual.Children.Remove(si.StrokeCV); 1086_mainContainerVisual.Children.Add(_mainRawInkContainerVisual); 1112_mainContainerVisual.Children.Add(_rawInkHostVisual1); 1113_mainContainerVisual.Children.Add(_rawInkHostVisual2); 1161_mainContainerVisual.Children.Remove(_rawInkHostVisual1); 1162_mainContainerVisual.Children.Remove(_rawInkHostVisual2);
System\Windows\Media\BitmapCacheBrush.cs (4)
196AutoWrapVisual.Children.Remove((Visual)e.OldValue); 197AutoWrapVisual.Children.Add((Visual)e.NewValue); 253AutoWrapVisual.Children.Add(Target); 257AutoWrapVisual.Children.Remove(Target);
PresentationFramework (97)
MS\Internal\Documents\DocumentPageHost.cs (2)
91pageVisualHost.Children.Clear(); 99pageVisualHost.Children.Add(_pageVisual);
MS\Internal\Documents\UIElementIsland.cs (2)
49Children.Add(_child); 168Children.Clear();
MS\Internal\Ink\LassoHelper.cs (1)
163_containerVisual.Children.Add(dv);
MS\Internal\PtsHost\ContainerParaClient.cs (2)
206PtsHelper.UpdateParaListVisuals(PtsContext, _visual.Children, fskupdInherited, arrayParaDesc); 210_visual.Children.Clear();
MS\Internal\PtsHost\FigureParaClient.cs (12)
372if(_visual.Children.Count != 2) 374_visual.Children.Clear(); 375_visual.Children.Add(new ContainerVisual()); 376_visual.Children.Add(new ContainerVisual()); 379pageContentVisual = (ContainerVisual)_visual.Children[0]; 380floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 394VisualCollection visualChildren = pageContentVisual.Children; 410PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupdInherited, ref subpageDetails.u.simple.trackdescr); 432VisualCollection visualChildren = pageContentVisual.Children; 449visualChildren = sectionVisual.Children; 464PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupdInherited, ref arrayColumnDesc[index]); 471_visual.Children.Clear();
MS\Internal\PtsHost\FloaterParaClient.cs (12)
378if(_visual.Children.Count != 2) 380_visual.Children.Clear(); 381_visual.Children.Add(new ContainerVisual()); 382_visual.Children.Add(new ContainerVisual()); 385pageContentVisual = (ContainerVisual)_visual.Children[0]; 386floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 400VisualCollection visualChildren = pageContentVisual.Children; 416PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupdInherited, ref subpageDetails.u.simple.trackdescr); 438VisualCollection visualChildren = pageContentVisual.Children; 455visualChildren = sectionVisual.Children; 470PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupdInherited, ref arrayColumnDesc[index]); 477_visual.Children.Clear();
MS\Internal\PtsHost\FlowDocumentPage.cs (2)
823this.PageVisual.Children.Clear(); 1017VisualCollection vc = visual.Children;
MS\Internal\PtsHost\Line.cs (2)
405VisualCollection visualChildren = visual.Children; 430parent.Children.Remove(inlineObject.UIElementIsland);
MS\Internal\PtsHost\ListParaClient.cs (2)
128PtsHelper.UpdateParaListVisuals(PtsContext, _visual.Children, fskupdInherited, arrayParaDesc); 132_visual.Children.Clear();
MS\Internal\PtsHost\PageVisual.cs (2)
71VisualCollection vc = this.Children; 77VisualCollection vc = this.Children;
MS\Internal\PtsHost\PtsHelper.cs (3)
63VisualCollection visualChildren = visual.Children; 76VisualCollection visualChildren = visual.Children; 278parent.Children.Remove(paraClient.Visual);
MS\Internal\PtsHost\PtsPage.cs (14)
624_visual.Children.Clear(); 1018if(_visual.Children.Count != 2) 1020_visual.Children.Clear(); 1021_visual.Children.Add(new ContainerVisual()); 1022_visual.Children.Add(new ContainerVisual()); 1025pageContentVisual = (ContainerVisual)_visual.Children[0]; 1026floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 1041visualChildren = pageContentVisual.Children; 1056PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, pageDetails.fskupd, ref pageDetails.u.simple.trackdescr); 1081visualChildren = pageContentVisual.Children; 1097pageContentVisual.Children.Clear(); 1155VisualCollection visualChildren = visual.Children; 1168PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupd, ref arrayColumnDesc[index]); 1182visual.Children.Clear();
MS\Internal\PtsHost\SubpageParaClient.cs (12)
304if(_visual.Children.Count != 2) 306_visual.Children.Clear(); 307_visual.Children.Add(new ContainerVisual()); 308_visual.Children.Add(new ContainerVisual()); 311pageContentVisual = (ContainerVisual)_visual.Children[0]; 312floatingElementsVisual = (ContainerVisual)_visual.Children[1]; 327VisualCollection visualChildren = pageContentVisual.Children; 343PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupdInherited, ref subpageDetails.u.simple.trackdescr); 365VisualCollection visualChildren = pageContentVisual.Children; 382visualChildren = sectionVisual.Children; 396PtsHelper.UpdateTrackVisuals(PtsContext, trackVisual.Children, fskupdInherited, ref arrayColumnDesc[index]); 403_visual.Children.Clear();
MS\Internal\PtsHost\TableParaClient.cs (5)
194_visual.Children.Clear(); 220VisualCollection rowVisualsCollection = _visual.Children; 1548cellVisualsCollection = rowVisual.Children; 1586parent.Children.Remove(cellParaClient.Visual); 1692cellVisualsCollection = rowVisual.Children;
MS\Internal\PtsHost\TextParaClient.cs (12)
65VisualCollection visualChildren = _visual.Children; 85if(_lineIndexFirstVisual == -1 && lineContainerVisual.Children.Count > 0) 90SyncUpdateDeferredLineVisuals(lineContainerVisual.Children, ref textDetails.u.full, ignoreUpdateInfo); 98lineContainerVisual.Children.Clear(); 102if(lineContainerVisual.Children.Count == 0) 123lineContainerVisual.Children.Clear(); 1842lineCount = _visual.Children.Count; 3221VisualCollection visualChildren = visual.Children; 3371VisualCollection visualChildren = visual.Children; 3591VisualCollection visualChildren = visual.Children; 3621lineVisuals = lineVisual.Children; 3690lineVisuals = lineVisual.Children;
MS\Internal\PtsHost\UIElementParaClient.cs (6)
115if (_visual.Children.Count != 1 || _visual.Children[0] != uiElementIsland) 123parent.Children.Remove(uiElementIsland); 126_visual.Children.Clear(); 127_visual.Children.Add(uiElementIsland); 133_visual.Children.Clear();
MS\Internal\Text\ComplexLine.cs (2)
177parent.Children.Remove(inlineObject.Element); 212proxyVisual.Children.Add(inlineObject.Element);
System\Windows\Controls\ViewBox.cs (2)
171VisualCollection vc = InternalVisual.Children; 177VisualCollection vc = InternalVisual.Children;
System\Windows\Documents\RubberbandSelector.cs (2)
215root.Children.Add(visual); 234parent.Children.Add(visual);