97 references to Children
PresentationFramework (70)
MS\Internal\Annotations\Component\HighlightComponent.cs (3)
369
Children
.Add(child);
379
Children
.Remove(child);
621
foreach (Visual child in
Children
)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (5)
72
Children
.Add(HighlightAnchor);
463
Children
.Remove(_leftMarker);
465
Children
.Remove(_rightMarker);
544
Children
.Remove(HighlightAnchor);
594
Children
.Add(marker);
MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
281
Debug.Assert(
Children
.Contains(hitElement), "The hit element should be a child of InnerCanvas.");
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (3)
140
foreach (UIElement child in this.OwningGrid.
Children
)
384
foreach (UIElement child in this.OwningGrid.
Children
)
626
foreach (UIElement child in this.OwningGrid.
Children
)
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
80
childItems = itemHost.
Children
;
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
427
childItems = itemHost.
Children
;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
163
IList childItems = itemsHost.
Children
;
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (2)
88
childItems = itemHost.
Children
;
150
childItems = itemHost.
Children
;
System\Windows\Controls\BorderGapMaskConverter.cs (3)
119
grid.
Children
.Add(rectColumn1);
120
grid.
Children
.Add(rectColumn2);
121
grid.
Children
.Add(rectColumn3);
System\Windows\Controls\DataGrid.cs (4)
6426
for (int i = (isGrouping ? Items.Count - 1 : itemsHost.
Children
.Count - 1); i >= 0; i--)
6437
row = itemsHost.
Children
[i] as DataGridRow;
6475
for (int i = (isGrouping ? Items.Count - 1 : itemsHost.
Children
.Count - 1); i >= 0; i--)
6486
row = itemsHost.
Children
[i] as DataGridRow;
System\Windows\Controls\Grid.cs (2)
85
Children
.Add(cell);
3893
_enumerator2Collection = grid.
Children
;
System\Windows\Controls\InkCanvas.cs (1)
701
return InnerCanvas.
Children
;
System\Windows\Controls\ItemsControl.cs (2)
1347
p.
Children
.RemoveNoVerify((UIElement)visual);
2503
UIElementCollection children = itemsHost.
Children
;
System\Windows\Controls\Panel.cs (4)
102
Children
.Add(uie);
163
return this.
Children
.GetEnumerator();
199
if (
Children
!= null &&
Children
.Count > 0)
System\Windows\Controls\Primitives\CalendarItem.cs (12)
353
UIElementCollection dayButtonsHost = MonthView.
Children
;
437
foreach (UIElement element in this.YearView.
Children
)
492
UIElementCollection yearViewChildren = _yearView.
Children
;
962
this._monthView.
Children
.Add(titleCell);
982
this._monthView.
Children
.Add(dayCell);
1008
this._yearView.
Children
.Add(monthCell);
1025
FrameworkElement daytitle = _monthView.
Children
[childIndex] as FrameworkElement;
1055
CalendarDayButton childButton = _monthView.
Children
[childIndex] as CalendarDayButton;
1168
CalendarDayButton childButton = _monthView.
Children
[childIndex] as CalendarDayButton;
1188
CalendarDayButton childButton = _monthView.
Children
[childIndex] as CalendarDayButton;
1245
foreach (object child in _yearView.
Children
)
1292
foreach (object child in _yearView.
Children
)
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (2)
168
UIElementCollection children = this.
Children
;
209
UIElementCollection children = this.
Children
;
System\Windows\Controls\Primitives\ToolBarPanel.cs (3)
137
overflowPanel.
Children
.Remove(child);
369
overflowPanel.
Children
.Clear();
450
overflowPanel.
Children
.Remove(child);
System\Windows\Controls\Stack.cs (1)
867
UIElementCollection children = this.
Children
;
System\Windows\Controls\VirtualizingStackPanel.cs (1)
1177
UIElementCollection children = itemsHost.
Children
;
System\Windows\Documents\FixedPage.cs (3)
899
Debug.Assert(currentLevelIndex >= 0 && currentLevelIndex <= ((Canvas)element).
Children
.Count);
900
element = ((Canvas)element).
Children
[currentLevelIndex];
1025
childIndex = parentC.
Children
.IndexOf((UIElement)e);
System\Windows\Documents\FixedTextBuilder.cs (1)
992
children = canvas.
Children
;
System\Windows\Input\KeyboardNavigation.cs (1)
531
_canvasChildren = canvas.
Children
;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (12)
4240
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Canvas)target).
Children
; };
4446
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.DockPanel)target).
Children
; };
4666
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Grid)target).
Children
; };
5320
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Panel)target).
Children
; };
5678
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.StackPanel)target).
Children
; };
5815
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Primitives.TabPanel)target).
Children
; };
5969
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Primitives.ToolBarOverflowPanel)target).
Children
; };
5986
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Primitives.ToolBarPanel)target).
Children
; };
6106
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Primitives.UniformGrid)target).
Children
; };
6209
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.VirtualizingPanel)target).
Children
; };
6226
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.VirtualizingStackPanel)target).
Children
; };
6261
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)
2447
canvas.
Children
.Add(child);
System.Windows.Controls.Ribbon (24)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (1)
582
UIElementCollection children = this.
Children
;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (1)
312
foreach (UIElement child in this.
Children
)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarOverflowPanel.cs (3)
26
for (int i = 0; i <
Children
.Count; i++)
28
UIElement child =
Children
[i];
43
UIElementCollection children =
Children
;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (15)
59
QAT.OverflowPanel.
Children
.Clear();
86
QAT.OverflowPanel.
Children
.RemoveAt(indexInOverflowPanel);
198
overflowPanel.
Children
.Count > 0 &&
199
object.ReferenceEquals(overflowPanel.
Children
[0], generatedChild))
201
overflowPanel.
Children
.RemoveAt(0);
229
Debug.Assert(overflowPanel.
Children
.Count >= overflowIndex, "overflowIndex should never get above overflowPanel.Children.Count");
232
overflowPanel.
Children
.Count == overflowIndex ||
233
!object.ReferenceEquals(overflowPanel.
Children
[overflowIndex], generatedChild))
235
overflowPanel.
Children
.Insert(overflowIndex, generatedChild);
317
Debug.Assert(QAT.OverflowPanel.
Children
.Count == numItemsExpectedInOverflowPanel);
327
Debug.Assert(this.
Children
.Contains(currentChild) == true);
328
Debug.Assert(QAT.OverflowPanel.
Children
.Contains(currentChild) == false);
337
Debug.Assert(object.ReferenceEquals(QAT.OverflowPanel.
Children
[overflowPanelIndex], GeneratedChildren[k]));
341
Debug.Assert(this.
Children
.Contains(currentChild) == false);
342
Debug.Assert(QAT.OverflowPanel.
Children
.Contains(currentChild) == true);
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
603
foreach (RibbonContextualTabGroup tabGroup in groupHeaderItemsControl.InternalItemsHost.
Children
)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (1)
58
int count =
Children
.Count;
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (2)
301
_mainPanel.
Children
.Clear();
306
_overflowPanel.
Children
.Clear();
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
195
HostContainerInternal.
Children
.Clear();
198
HostContainerInternal.
Children
.Add(_child);