127 references to Children
PresentationFramework (70)
src\Framework\MS\Internal\Annotations\Component\HighlightComponent.cs (3)
385
Children
.Add(child);
395
Children
.Remove(child);
648
foreach (Visual child in
Children
)
src\Framework\MS\Internal\Annotations\Component\MArkedHighlightComponent.cs (5)
79
Children
.Add(HighlightAnchor);
478
Children
.Remove(_leftMarker);
480
Children
.Remove(_rightMarker);
561
Children
.Remove(HighlightAnchor);
613
Children
.Add(marker);
src\Framework\MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
289
Debug.Assert(
Children
.Contains(hitElement), "The hit element should be a child of InnerCanvas.");
src\Framework\System\Windows\Automation\Peers\CalendarAutomationPeer.cs (3)
141
foreach (UIElement child in this.OwningGrid.
Children
)
392
foreach (UIElement child in this.OwningGrid.
Children
)
636
foreach (UIElement child in this.OwningGrid.
Children
)
src\Framework\System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
76
childItems = itemHost.
Children
;
src\Framework\System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
430
childItems = itemHost.
Children
;
src\Framework\System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
134
IList childItems = itemsHost.
Children
;
src\Framework\System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (2)
85
childItems = itemHost.
Children
;
147
childItems = itemHost.
Children
;
src\Framework\System\Windows\Controls\BorderGapMaskConverter.cs (3)
129
grid.
Children
.Add(rectColumn1);
130
grid.
Children
.Add(rectColumn2);
131
grid.
Children
.Add(rectColumn3);
src\Framework\System\Windows\Controls\DataGrid.cs (4)
6431
for (int i = (isGrouping ? Items.Count - 1 : itemsHost.
Children
.Count - 1); i >= 0; i--)
6442
row = itemsHost.
Children
[i] as DataGridRow;
6480
for (int i = (isGrouping ? Items.Count - 1 : itemsHost.
Children
.Count - 1); i >= 0; i--)
6491
row = itemsHost.
Children
[i] as DataGridRow;
src\Framework\System\Windows\Controls\Grid.cs (2)
116
Children
.Add(cell);
4117
_enumerator2Collection = grid.
Children
;
src\Framework\System\Windows\Controls\InkCanvas.cs (1)
714
return InnerCanvas.
Children
;
src\Framework\System\Windows\Controls\ItemsControl.cs (2)
1351
p.
Children
.RemoveNoVerify((UIElement)visual);
2506
UIElementCollection children = itemsHost.
Children
;
src\Framework\System\Windows\Controls\Panel.cs (4)
106
Children
.Add(uie);
167
return this.
Children
.GetEnumerator();
203
if (
Children
!= null &&
Children
.Count > 0)
src\Framework\System\Windows\Controls\Primitives\CalendarItem.cs (12)
354
UIElementCollection dayButtonsHost = MonthView.
Children
;
438
foreach (UIElement element in this.YearView.
Children
)
493
UIElementCollection yearViewChildren = _yearView.
Children
;
964
this._monthView.
Children
.Add(titleCell);
984
this._monthView.
Children
.Add(dayCell);
1010
this._yearView.
Children
.Add(monthCell);
1028
FrameworkElement daytitle = _monthView.
Children
[childIndex] as FrameworkElement;
1058
CalendarDayButton childButton = _monthView.
Children
[childIndex] as CalendarDayButton;
1171
CalendarDayButton childButton = _monthView.
Children
[childIndex] as CalendarDayButton;
1191
CalendarDayButton childButton = _monthView.
Children
[childIndex] as CalendarDayButton;
1248
foreach (object child in _yearView.
Children
)
1295
foreach (object child in _yearView.
Children
)
src\Framework\System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (2)
169
UIElementCollection children = this.
Children
;
210
UIElementCollection children = this.
Children
;
src\Framework\System\Windows\Controls\Primitives\ToolBarPanel.cs (3)
138
overflowPanel.
Children
.Remove(child);
370
overflowPanel.
Children
.Clear();
451
overflowPanel.
Children
.Remove(child);
src\Framework\System\Windows\Controls\Stack.cs (1)
873
UIElementCollection children = this.
Children
;
src\Framework\System\Windows\Controls\VirtualizingStackPanel.cs (1)
1145
UIElementCollection children = itemsHost.
Children
;
src\Framework\System\Windows\Documents\FixedPage.cs (3)
930
Debug.Assert(currentLevelIndex >= 0 && currentLevelIndex <= ((Canvas)element).
Children
.Count);
931
element = ((Canvas)element).
Children
[currentLevelIndex];
1056
childIndex = ((Canvas)parent).
Children
.IndexOf((UIElement)e);
src\Framework\System\Windows\Documents\FixedTextBuilder.cs (1)
1006
children = canvas.
Children
;
src\Framework\System\Windows\Input\KeyboardNavigation.cs (1)
579
_canvasChildren = canvas.
Children
;
src\Framework\System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (12)
4215
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Canvas)target).
Children
; };
4421
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.DockPanel)target).
Children
; };
4641
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Grid)target).
Children
; };
5295
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Panel)target).
Children
; };
5636
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.StackPanel)target).
Children
; };
5773
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Primitives.TabPanel)target).
Children
; };
5927
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Primitives.ToolBarOverflowPanel)target).
Children
; };
5944
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Primitives.ToolBarPanel)target).
Children
; };
6064
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.Primitives.UniformGrid)target).
Children
; };
6167
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.VirtualizingPanel)target).
Children
; };
6184
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.VirtualizingStackPanel)target).
Children
; };
6219
bamlMember.GetDelegate = delegate(object target) { return ((System.Windows.Controls.WrapPanel)target).
Children
; };
src\Framework\System\Windows\Markup\KnownTypes.cs (1)
2432
return (o as System.Windows.Controls.Panel).
Children
;
System.Activities.Core.Presentation (2)
System\Activities\Core\Presentation\FlowchartDesigner.xaml.cs (2)
2589
stackPanel.
Children
.Add(view);
2596
stackPanel.
Children
.Remove(view);
System.Activities.Presentation (55)
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\Editors\FlagPanel.cs (5)
56
panel.
Children
.Add(checkBox);
83
if (str.Contains((panel.
Children
[this.index] as CheckBox).Content.ToString().ToUpperInvariant()))
97
for (int i = 0; i < panel.
Children
.Count; i++)
99
if ((i != this.index && ((bool)(panel.
Children
[i] as CheckBox).IsChecked)) ||
106
str += (panel.
Children
[i] as CheckBox).Content.ToString();
System.Activities.Presentation\System\Activities\Presentation\Base\Core\Internal\PropertyEditing\PropertyPanel.cs (2)
258
if (ignoreFirstChildBackground && this.
Children
.Count > 0)
260
firstChildWidth = this.
Children
[0].RenderSize.Width;
System.Activities.Presentation\System\Activities\Presentation\DragDropHelper.cs (1)
862
grid.
Children
.Add(rectangle);
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\ConnectorRouter.cs (2)
122
foreach (UIElement child in panel.
Children
)
172
foreach (UIElement child in panel.
Children
)
System.Activities.Presentation\System\Activities\Presentation\FreeFormEditing\FreeFormPanel.cs (8)
215
foreach (UIElement element in this.
Children
)
328
for (int i = 0; i <
Children
.Count; i++)
331
Size size =
Children
[i].DesiredSize;
332
if (
Children
[i].GetType() == typeof(Connector))
334
((UIElement)
Children
[i]).Arrange(new Rect(pt, size));
338
pt = FreeFormPanel.GetLocation(
Children
[i]);
339
((UIElement)
Children
[i]).Arrange(new Rect(pt, size));
404
foreach (UIElement child in
Children
)
System.Activities.Presentation\System\Activities\Presentation\View\ExtensionSurface.cs (6)
146
foreach (FrameworkElement child in this.
Children
)
321
foreach (UIElement item in this.
Children
)
374
foreach (UIElement child in this.
Children
)
404
foreach (UIElement item in this.
Children
)
444
if (null != window && this.
Children
.Contains(window))
460
this.
Children
.Remove(window);
System.Activities.Presentation\System\Activities\Presentation\View\RubberBandSelector.cs (6)
60
return this.ExtenstionSurface.
Children
.Contains(this.rubberBand);
222
if (!this.ExtenstionSurface.
Children
.Contains(this.rubberBand))
224
this.ExtenstionSurface.
Children
.Add(this.rubberBand);
234
if (this.ExtenstionSurface.
Children
.Contains(this.rubberBand))
236
this.ExtenstionSurface.
Children
.Remove(this.rubberBand);
246
if (this.ExtenstionSurface.
Children
.Contains(this.rubberBand))
System.Activities.Presentation\System\Activities\Presentation\View\WorkflowViewService.cs (1)
97
errorGrid.
Children
.Add(text);
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.cs (5)
180
this.view.
Children
.Clear();
181
this.view.
Children
.Add(errorView);
184
this.outlineView.
Children
.Clear();
326
this.outlineView.
Children
.Add(treeView);
544
view.
Children
.Add((UIElement)viewManager.View);
System.Activities.Presentation\System\Activities\Presentation\WorkflowDesigner.Helpers.cs (4)
105
if (!this.view.
Children
.Contains((UIElement)this.viewManager.View))
107
this.view.
Children
.Clear();
108
this.view.
Children
.Add((UIElement)this.viewManager.View);
112
this.outlineView.
Children
.Clear();
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemPresenter.cs (13)
84
this.contentGrid.
Children
.Add(text);
89
this.stackPanel.
Children
.Add(contentGrid);
92
this.containerGrid.
Children
.Add(stackPanel);
485
this.contentGrid.
Children
.Clear();
486
this.contentGrid.
Children
.Add(itemView);
490
contentGrid.
Children
.Clear();
491
contentGrid.
Children
.Add(text);
1118
this.wfItemPresenter.stackPanel.
Children
.Insert(0, TopSpacerWrapper.Spacer);
1119
this.wfItemPresenter.stackPanel.
Children
.Insert(0, TopSpacerWrapper.Placeholder);
1120
this.wfItemPresenter.stackPanel.
Children
.Insert(this.wfItemPresenter.stackPanel.
Children
.Count, BottomSpacerWrapper.Spacer);
1121
this.wfItemPresenter.stackPanel.
Children
.Insert(this.wfItemPresenter.stackPanel.
Children
.Count, BottomSpacerWrapper.Placeholder);
System.Activities.Presentation\System\Activities\Presentation\WorkflowItemsPresenter.cs (2)
107
this.outerGrid.
Children
.Add(panel);
108
this.outerGrid.
Children
.Add(hintTextGrid);