1 write to Children
Microsoft.CodeAnalysis.EditorFeatures.Wpf (1)
InlineDiagnostics\InlineDiagnosticsTag.cs (1)
101Children = { image, block }
149 references to Children
IdeBenchmarks (2)
InheritanceMargin\InheritanceMarginGlyphBenchmarks.cs (2)
118_canvas.Children.Add(glyph); 121_canvas.Children.Clear();
Microsoft.CodeAnalysis.EditorFeatures.Wpf (5)
InlineDiagnostics\InlineDiagnosticsTag.cs (1)
184foreach (var child in stackPanel.Children)
InlineHints\InlineHintsTag.cs (2)
183dockPanel.Children.Add(border); 193stackPanel.Children.Add(dockPanel);
InlineRename\UI\Adornment\RenameFlyout.xaml.cs (2)
76var index = MainPanel.Children.IndexOf(IdentifierAndExpandButtonGrid); 77MainPanel.Children.Insert(index + 1, smartRenameControl);
Microsoft.VisualStudio.LanguageServices (15)
InheritanceMargin\InheritanceGlyphManager.cs (3)
100_glyphsContainer.Children.Add(glyph); 114_glyphsContainer.Children.Remove(glyph); 145_glyphsContainer.Children.Remove(glyph);
PreviewPane\PreviewPane.xaml.cs (6)
194grid.Children.Add(previewElement); 197if (grid.Children.Count == 1) 203if (grid.Children.Count == 0) 210if (grid.Children.Count == 1) 212var preview = grid.Children[0]; 215grid.Children.Clear();
StackTraceExplorer\StackTraceExplorerToolWindow.cs (1)
138contentRoot.Children.Add(Root);
UnusedReferences\Dialog\UnusedReferencesTableProvider.ColumnDefinitions.cs (2)
90stackPanel.Children.Add(image); 94stackPanel.Children.Add(block);
ValueTracking\ValueTrackingRoot.xaml.cs (3)
24RootGrid.Children.Clear(); 28RootGrid.Children.Add(EmptyTextMessage); 34RootGrid.Children.Add(child);
Microsoft.VisualStudio.LanguageServices.CSharp (4)
SemanticSearch\SemanticSearchToolWindowImpl.cs (4)
145toolWindowGrid.Children.Add(toolbarGrid); 146toolWindowGrid.Children.Add(textViewControl); 147toolbarGrid.Children.Add(executeButton); 148toolbarGrid.Children.Add(cancelButton);
PresentationFramework (70)
MS\Internal\Annotations\Component\HighlightComponent.cs (3)
361Children.Add(child); 371Children.Remove(child); 613foreach (Visual child in Children)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (5)
66Children.Add(HighlightAnchor); 457Children.Remove(_leftMarker); 459Children.Remove(_rightMarker); 538Children.Remove(HighlightAnchor); 588Children.Add(marker);
MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
278Debug.Assert(Children.Contains(hitElement), "The hit element should be a child of InnerCanvas.");
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (3)
134foreach (UIElement child in this.OwningGrid.Children) 378foreach (UIElement child in this.OwningGrid.Children) 620foreach (UIElement child in this.OwningGrid.Children)
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
78childItems = itemHost.Children;
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
422childItems = itemHost.Children;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
151IList childItems = itemsHost.Children;
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (2)
76childItems = itemHost.Children; 138childItems = itemHost.Children;
System\Windows\Controls\BorderGapMaskConverter.cs (3)
118grid.Children.Add(rectColumn1); 119grid.Children.Add(rectColumn2); 120grid.Children.Add(rectColumn3);
System\Windows\Controls\DataGrid.cs (4)
6423for (int i = (isGrouping ? Items.Count - 1 : itemsHost.Children.Count - 1); i >= 0; i--) 6434row = itemsHost.Children[i] as DataGridRow; 6472for (int i = (isGrouping ? Items.Count - 1 : itemsHost.Children.Count - 1); i >= 0; i--) 6483row = itemsHost.Children[i] as DataGridRow;
System\Windows\Controls\Grid.cs (2)
76Children.Add(cell); 3884_enumerator2Collection = grid.Children;
System\Windows\Controls\InkCanvas.cs (1)
689return InnerCanvas.Children;
System\Windows\Controls\ItemsControl.cs (2)
1338p.Children.RemoveNoVerify((UIElement)visual); 2494UIElementCollection children = itemsHost.Children;
System\Windows\Controls\Panel.cs (4)
95Children.Add(uie); 156return this.Children.GetEnumerator(); 192if (Children != null && Children.Count > 0)
System\Windows\Controls\Primitives\CalendarItem.cs (12)
348UIElementCollection dayButtonsHost = MonthView.Children; 432foreach (UIElement element in this.YearView.Children) 487UIElementCollection yearViewChildren = _yearView.Children; 957this._monthView.Children.Add(titleCell); 977this._monthView.Children.Add(dayCell); 1003this._yearView.Children.Add(monthCell); 1020FrameworkElement daytitle = _monthView.Children[childIndex] as FrameworkElement; 1050CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1163CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1183CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1240foreach (object child in _yearView.Children) 1287foreach (object child in _yearView.Children)
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (2)
158UIElementCollection children = this.Children; 199UIElementCollection children = this.Children;
System\Windows\Controls\Primitives\ToolBarPanel.cs (3)
128overflowPanel.Children.Remove(child); 360overflowPanel.Children.Clear(); 441overflowPanel.Children.Remove(child);
System\Windows\Controls\Stack.cs (1)
861UIElementCollection children = this.Children;
System\Windows\Controls\VirtualizingStackPanel.cs (1)
1172UIElementCollection children = itemsHost.Children;
System\Windows\Documents\FixedPage.cs (3)
891Debug.Assert(currentLevelIndex >= 0 && currentLevelIndex <= ((Canvas)element).Children.Count); 892element = ((Canvas)element).Children[currentLevelIndex]; 1017childIndex = parentC.Children.IndexOf((UIElement)e);
System\Windows\Documents\FixedTextBuilder.cs (1)
976children = canvas.Children;
System\Windows\Input\KeyboardNavigation.cs (1)
521_canvasChildren = canvas.Children;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (12)
4238bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Canvas)target).Children; }; 4444bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.DockPanel)target).Children; }; 4664bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Grid)target).Children; }; 5318bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Panel)target).Children; }; 5676bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.StackPanel)target).Children; }; 5813bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Primitives.TabPanel)target).Children; }; 5967bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Primitives.ToolBarOverflowPanel)target).Children; }; 5984bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Primitives.ToolBarPanel)target).Children; }; 6104bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Primitives.UniformGrid)target).Children; }; 6207bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.VirtualizingPanel)target).Children; }; 6224bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.VirtualizingStackPanel)target).Children; }; 6259bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.WrapPanel)target).Children; };
System\Windows\Markup\KnownTypes.cs (1)
2439return (o as System.Windows.Controls.Panel).Children;
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
2438canvas.Children.Add(child);
Roslyn.VisualStudio.DiagnosticsWindow (26)
OptionPages\ForceLowMemoryModePage.cs (4)
36lowMemoryGroup.Children.Add(cb); 40lowMemoryGroup.Children.Add(textBox); 42lowMemoryGroup.Children.Add(new TextBlock { Text = "megabytes of extra memory in devenv.exe" }); 44panel.Children.Add(lowMemoryGroup);
OptionPages\InternalOptionsControl.cs (16)
46foreach (var item in optionsPanel.Children.OfType<CheckBox>()) 68clearButton.Click += (o, a) => optionsPanel.Children.OfType<CheckBox>().Do(c => c.Visibility = Visibility.Visible); 77searchPanel.Children.Add(searchBox); 78searchPanel.Children.Add(searchButton); 79searchPanel.Children.Add(clearButton); 83checkAllButton.Click += (o, a) => optionsPanel.Children.OfType<CheckBox>().Where(c => c.Visibility == Visibility.Visible).Do(c => c.IsChecked = true); 86uncheckAllButton.Click += (o, a) => optionsPanel.Children.OfType<CheckBox>().Where(c => c.Visibility == Visibility.Visible).Do(c => c.IsChecked = false); 95selectionPanel.Children.Add(checkAllButton); 96selectionPanel.Children.Add(uncheckAllButton); 100mainPanel.Children.Add(searchPanel); 101mainPanel.Children.Add(selectionPanel); 102mainPanel.Children.Add(viewer); 131panel.Children.Add(uiElement); 140panel.Children.Add(uiElement); 164panel.Children.Add(label); 165panel.Children.Add(textBox);
PerfMargin\PerfMarginPanel.cs (6)
47_mainGrid.Children.Add(_mainListView); 99s.Children.Add(indicator); 105s.Children.Add(label); 131_mainGrid.Children.Remove(_detailsListView); 134var indicator = item.Children[0] as StatusIndicator; 150_mainGrid.Children.Add(_detailsListView);
System.Windows.Controls.Ribbon (24)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (1)
577UIElementCollection children = this.Children;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (1)
307foreach (UIElement child in this.Children)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarOverflowPanel.cs (3)
22for (int i = 0; i < Children.Count; i++) 24UIElement child = Children[i]; 39UIElementCollection children = Children;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (15)
53QAT.OverflowPanel.Children.Clear(); 80QAT.OverflowPanel.Children.RemoveAt(indexInOverflowPanel); 192overflowPanel.Children.Count > 0 && 193object.ReferenceEquals(overflowPanel.Children[0], generatedChild)) 195overflowPanel.Children.RemoveAt(0); 223Debug.Assert(overflowPanel.Children.Count >= overflowIndex, "overflowIndex should never get above overflowPanel.Children.Count"); 226overflowPanel.Children.Count == overflowIndex || 227!object.ReferenceEquals(overflowPanel.Children[overflowIndex], generatedChild)) 229overflowPanel.Children.Insert(overflowIndex, generatedChild); 311Debug.Assert(QAT.OverflowPanel.Children.Count == numItemsExpectedInOverflowPanel); 321Debug.Assert(this.Children.Contains(currentChild) == true); 322Debug.Assert(QAT.OverflowPanel.Children.Contains(currentChild) == false); 331Debug.Assert(object.ReferenceEquals(QAT.OverflowPanel.Children[overflowPanelIndex], GeneratedChildren[k])); 335Debug.Assert(this.Children.Contains(currentChild) == false); 336Debug.Assert(QAT.OverflowPanel.Children.Contains(currentChild) == true);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
600foreach (RibbonContextualTabGroup tabGroup in groupHeaderItemsControl.InternalItemsHost.Children)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (1)
54int count = Children.Count;
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (2)
296_mainPanel.Children.Clear(); 301_overflowPanel.Children.Clear();
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
192HostContainerInternal.Children.Clear(); 195HostContainerInternal.Children.Add(_child);