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