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