97 references to Children
PresentationFramework (70)
MS\Internal\Annotations\Component\HighlightComponent.cs (3)
360Children.Add(child); 370Children.Remove(child); 612foreach (Visual child in Children)
MS\Internal\Annotations\Component\MarkedHighlightComponent.cs (5)
65Children.Add(HighlightAnchor); 453Children.Remove(_leftMarker); 455Children.Remove(_rightMarker); 534Children.Remove(HighlightAnchor); 588Children.Add(marker);
MS\Internal\Controls\InkCanvasInnerCanvas.cs (1)
277Debug.Assert(Children.Contains(hitElement), "The hit element should be a child of InnerCanvas.");
System\Windows\Automation\Peers\CalendarAutomationPeer.cs (3)
133foreach (UIElement child in this.OwningGrid.Children) 364foreach (UIElement child in this.OwningGrid.Children) 605foreach (UIElement child in this.OwningGrid.Children)
System\Windows\Automation\Peers\DataGridColumnHeadersPresenterAutomationPeer.cs (1)
77childItems = itemHost.Children;
System\Windows\Automation\Peers\DataGridItemAutomationPeer.cs (1)
421childItems = itemHost.Children;
System\Windows\Automation\Peers\GroupItemAutomationPeer.cs (1)
150IList childItems = itemsHost.Children;
System\Windows\Automation\Peers\ItemsControlAutomationPeer.cs (2)
75childItems = itemHost.Children; 134childItems = itemHost.Children;
System\Windows\Controls\BorderGapMaskConverter.cs (3)
119grid.Children.Add(rectColumn1); 120grid.Children.Add(rectColumn2); 121grid.Children.Add(rectColumn3);
System\Windows\Controls\DataGrid.cs (4)
6369for (int i = (isGrouping ? Items.Count - 1 : itemsHost.Children.Count - 1); i >= 0; i--) 6380row = itemsHost.Children[i] as DataGridRow; 6418for (int i = (isGrouping ? Items.Count - 1 : itemsHost.Children.Count - 1); i >= 0; i--) 6429row = itemsHost.Children[i] as DataGridRow;
System\Windows\Controls\Grid.cs (2)
73Children.Add(cell); 3930_enumerator2Collection = grid.Children;
System\Windows\Controls\InkCanvas.cs (1)
700return InnerCanvas.Children;
System\Windows\Controls\ItemsControl.cs (2)
1325p.Children.RemoveNoVerify((UIElement)visual); 2463UIElementCollection children = itemsHost.Children;
System\Windows\Controls\Panel.cs (4)
94Children.Add(uie); 155return this.Children.GetEnumerator(); 191if (Children != null && Children.Count > 0)
System\Windows\Controls\Primitives\CalendarItem.cs (12)
333UIElementCollection dayButtonsHost = MonthView.Children; 417foreach (UIElement element in this.YearView.Children) 472UIElementCollection yearViewChildren = _yearView.Children; 933this._monthView.Children.Add(titleCell); 954this._monthView.Children.Add(dayCell); 981this._yearView.Children.Add(monthCell); 998FrameworkElement daytitle = _monthView.Children[childIndex] as FrameworkElement; 1028CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1141CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1160CalendarDayButton childButton = _monthView.Children[childIndex] as CalendarDayButton; 1217foreach (object child in _yearView.Children) 1264foreach (object child in _yearView.Children)
System\Windows\Controls\Primitives\ToolBarOverflowPanel.cs (2)
157UIElementCollection children = this.Children; 198UIElementCollection children = this.Children;
System\Windows\Controls\Primitives\ToolBarPanel.cs (3)
127overflowPanel.Children.Remove(child); 358overflowPanel.Children.Clear(); 436overflowPanel.Children.Remove(child);
System\Windows\Controls\Stack.cs (1)
856UIElementCollection children = this.Children;
System\Windows\Controls\VirtualizingStackPanel.cs (1)
1171UIElementCollection children = itemsHost.Children;
System\Windows\Documents\FixedPage.cs (3)
892Debug.Assert(currentLevelIndex >= 0 && currentLevelIndex <= ((Canvas)element).Children.Count); 893element = ((Canvas)element).Children[currentLevelIndex]; 1018childIndex = parentC.Children.IndexOf((UIElement)e);
System\Windows\Documents\FixedTextBuilder.cs (1)
972children = canvas.Children;
System\Windows\Input\KeyboardNavigation.cs (1)
522_canvasChildren = canvas.Children;
System\Windows\Markup\Baml2006\WpfGeneratedKnownProperties.cs (12)
4468GetDelegate = delegate (object target) { return ((System.Windows.Controls.Canvas)target).Children; }, 4698GetDelegate = delegate (object target) { return ((System.Windows.Controls.DockPanel)target).Children; }, 4940GetDelegate = delegate (object target) { return ((System.Windows.Controls.Grid)target).Children; }, 5668GetDelegate = delegate (object target) { return ((System.Windows.Controls.Panel)target).Children; }, 6064GetDelegate = delegate (object target) { return ((System.Windows.Controls.StackPanel)target).Children; }, 6215GetDelegate = delegate (object target) { return ((System.Windows.Controls.Primitives.TabPanel)target).Children; }, 6387GetDelegate = delegate (object target) { return ((System.Windows.Controls.Primitives.ToolBarOverflowPanel)target).Children; }, 6406GetDelegate = delegate (object target) { return ((System.Windows.Controls.Primitives.ToolBarPanel)target).Children; }, 6540GetDelegate = delegate (object target) { return ((System.Windows.Controls.Primitives.UniformGrid)target).Children; }, 6655GetDelegate = delegate (object target) { return ((System.Windows.Controls.VirtualizingPanel)target).Children; }, 6674GetDelegate = delegate (object target) { return ((System.Windows.Controls.VirtualizingStackPanel)target).Children; }, 6713GetDelegate = delegate (object target) { return ((System.Windows.Controls.WrapPanel)target).Children; },
System\Windows\Markup\KnownTypes.cs (1)
2432return (o as System.Windows.Controls.Panel).Children;
PresentationUI (1)
MS\Internal\Documents\DocumentApplicationDocumentViewer.cs (1)
2433canvas.Children.Add(child);
System.Windows.Controls.Ribbon (24)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGalleryCategoriesPanel.cs (1)
573UIElementCollection children = this.Children;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonGroupsPanel.cs (1)
306foreach (UIElement child in this.Children)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarOverflowPanel.cs (3)
21for (int i = 0; i < Children.Count; i++) 23UIElement child = Children[i]; 38UIElementCollection children = Children;
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonQuickAccessToolBarPanel.cs (15)
52QAT.OverflowPanel.Children.Clear(); 79QAT.OverflowPanel.Children.RemoveAt(indexInOverflowPanel); 191overflowPanel.Children.Count > 0 && 192object.ReferenceEquals(overflowPanel.Children[0], generatedChild)) 194overflowPanel.Children.RemoveAt(0); 222Debug.Assert(overflowPanel.Children.Count >= overflowIndex, "overflowIndex should never get above overflowPanel.Children.Count"); 225overflowPanel.Children.Count == overflowIndex || 226!object.ReferenceEquals(overflowPanel.Children[overflowIndex], generatedChild)) 228overflowPanel.Children.Insert(overflowIndex, generatedChild); 307Debug.Assert(QAT.OverflowPanel.Children.Count == numItemsExpectedInOverflowPanel); 317Debug.Assert(this.Children.Contains(currentChild)); 318Debug.Assert(!QAT.OverflowPanel.Children.Contains(currentChild)); 327Debug.Assert(object.ReferenceEquals(QAT.OverflowPanel.Children[overflowPanelIndex], GeneratedChildren[k])); 331Debug.Assert(!this.Children.Contains(currentChild)); 332Debug.Assert(QAT.OverflowPanel.Children.Contains(currentChild));
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTabHeadersPanel.cs (1)
599foreach (RibbonContextualTabGroup tabGroup in groupHeaderItemsControl.InternalItemsHost.Children)
Microsoft\Windows\Controls\Ribbon\Primitives\RibbonTitlePanel.cs (1)
53int count = Children.Count;
Microsoft\Windows\Controls\Ribbon\RibbonQuickAccessToolBar.cs (2)
290_mainPanel?.Children.Clear(); 292_overflowPanel?.Children.Clear();
WindowsFormsIntegration (2)
System\Windows\Integration\ElementHost.cs (2)
190HostContainerInternal.Children.Clear(); 193HostContainerInternal.Children.Add(_child);