49 references to InternalChildren
Microsoft.Maui.Controls (49)
ContentPresenter.cs (2)
100 self.InternalChildren.Remove(oldView); 106 self.InternalChildren.Add(newView);
LegacyLayouts\AbsoluteLayout.cs (1)
29 _children = new AbsoluteElementCollection(InternalChildren, this);
LegacyLayouts\Grid.cs (1)
74 _children = new GridElementCollection(InternalChildren, this) { Parent = this };
LegacyLayouts\GridCalc.cs (20)
17 if (!InternalChildren.Any()) 23 for (var index = 0; index < InternalChildren.Count; index++) 25 var child = (View)InternalChildren[index]; 56 if (!InternalChildren.Any()) 190 for (var index = 0; index < grid.InternalChildren.Count; index++) 192 var child = (View)(grid.InternalChildren[index]); 223 for (var index = 0; index < grid.InternalChildren.Count; index++) 225 var child = (View)(grid.InternalChildren)[index]; 497 for (var index = 0; index < grid.InternalChildren.Count; index++) 499 Element w = grid.InternalChildren[index]; 505 for (var index = 0; index < grid.InternalChildren.Count; index++) 507 Element w = grid.InternalChildren[index]; 531 for (var index = 0; index < grid.InternalChildren.Count; index++) 533 Element element = grid.InternalChildren[index]; 556 for (var index = 0; index < grid.InternalChildren.Count; index++) 558 Element element = grid.InternalChildren[index]; 664 for (var index = 0; index < grid.InternalChildren.Count; index++) 666 var child = (View)(grid.InternalChildren)[index]; 725 for (var index = 0; index < grid.InternalChildren.Count; index++) 727 var child = (View)(grid.InternalChildren)[index];
LegacyLayouts\Layout.cs (16)
25 protected Layout() => _children = new ElementCollection<T>(InternalChildren); 114 if (InternalChildren.Count > 0) 117 new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, InternalChildren)); 120 InternalChildren.CollectionChanged += InternalChildrenOnCollectionChanged; 172 => InternalChildren; 185 public IReadOnlyList<Element> Children => InternalChildren; 289 if (!InternalChildren.Contains(view) || InternalChildren.First() == view) 294 InternalChildren.Move(InternalChildren.IndexOf(view), 0); 307 if (!InternalChildren.Contains(view) || InternalChildren.Last() == view) 312 InternalChildren.Move(InternalChildren.IndexOf(view), InternalChildren.Count - 1); 663 parent?.InternalChildren.Remove(view);
LegacyLayouts\RelativeLayout.cs (1)
44 _children = new RelativeElementCollection(InternalChildren, this);
LegacyLayouts\StackLayout.cs (2)
401 for (var index = 0; index < InternalChildren.Count; index++) 403 var child = (VisualElement)InternalChildren[index];
ScrollView\ScrollView.cs (2)
157 InternalChildren.Remove(_content); 162 InternalChildren.Add(_content);
SwipeView\SwipeView.cs (1)
113 foreach (var item in InternalChildren)
TemplatedView\TemplatedView.cs (3)
26 IList<Element> IControlTemplated.InternalChildren => InternalChildren; 53 if ((widthRequest == -1 || heightRequest == -1) && InternalChildren.Count > 0 && InternalChildren[0] is View view)