Implemented interface member:
property
InternalChildren
Microsoft.Maui.Controls.IPageController.InternalChildren
79 references to InternalChildren
Microsoft.Maui.Controls (79)
Compatibility\Handlers\TabbedPage\iOS\TabbedRenderer.cs (3)
303 var pages = tabbed.InternalChildren; 441 var page = (Page)tabbed.InternalChildren[originalIndex]; 451 var count = tabbed.InternalChildren.Count;
FlyoutPage\FlyoutPage.cs (4)
58 InternalChildren.Remove(_detail); 60 InternalChildren.Add(_detail); 113 InternalChildren.Remove(_flyout); 115 InternalChildren.Add(_flyout);
MultiPage.cs (19)
39 _children = new ElementCollection<T>(InternalChildren); 40 InternalChildren.CollectionChanged += OnChildrenChanged; 189 foreach (T page in InternalChildren) 230 SetIndex((T)InternalChildren[i], i + e.NewItems.Count); 238 InternalChildren.Insert(index, (T)e.NewItems[i]); 249 SetIndex((T)InternalChildren[i], removeIndex++); 253 Element element = InternalChildren[e.OldStartingIndex]; 254 InternalChildren.RemoveAt(e.OldStartingIndex); 273 SetIndex((T)InternalChildren[i], moveIndex++); 279 var page = (T)InternalChildren[i + e.NewStartingIndex]; 285 InternalChildren.RemoveAt(e.OldStartingIndex); 295 InternalChildren.Insert(insertIndex + i, page); 306 Element element = InternalChildren[i]; 307 InternalChildren.RemoveAt(i); 313 InternalChildren.Insert(i, page); 329 List<Element> snapshot = InternalChildren.ToList(); 331 InternalChildren.Clear(); 341 InternalChildren.Add(page); 372 CurrentPage = (T)InternalChildren.FirstOrDefault();
NavigationPage\NavigationPage.cs (26)
124 if (InternalChildren.Count <= depth) 129 return (Page)InternalChildren[InternalChildren.Count - depth - 1]; 132 IEnumerable<Page> INavigationPageController.Pages => InternalChildren.Cast<Page>(); 136 get { return InternalChildren.Count; } 300 if (InternalChildren.Contains(page)) 404 InternalChildren.Remove(page); 484 if (InternalChildren.Count < i) 485 InternalChildren.Add(element); 486 else if (InternalChildren[i] != element) 488 int index = InternalChildren.IndexOf(element); 491 InternalChildren.Move(index, i); 495 InternalChildren.Insert(i, element); 500 while (InternalChildren.Count > newStack.Count) 502 InternalChildren.RemoveAt(InternalChildren.Count - 1); 691 if (Navigation is MauiNavigationImpl && InternalChildren.Count > 0) 728 _castingList = new Lazy<ReadOnlyCastingList<Page, Element>>(() => new ReadOnlyCastingList<Page, Element>(Owner.InternalChildren)); 746 if (!Owner.InternalChildren.Contains(before)) 749 if (Owner.InternalChildren.Contains(page)) 756 int index = Owner.InternalChildren.IndexOf(before); 757 Owner.InternalChildren.Insert(index, page); 778 if (Owner.InternalChildren.Count == 1) 848 if (Owner.InternalChildren.Contains(root)) 886 if (!Owner.InternalChildren.Contains(page)) 895 Owner.RootPage = (Page)Owner.InternalChildren[0];
NavigationPage\NavigationPage.Legacy.cs (16)
26 var page = (Page)InternalChildren.Last(); 46 if (InternalChildren.Last() == page) 47 FireAppearing((Page)InternalChildren[NavigationPageController.StackDepth - 2]); 67 CurrentPage = (Page)InternalChildren.Last(); 128 if (!InternalChildren.Contains(before)) 131 if (InternalChildren.Contains(page)) 136 int index = InternalChildren.IndexOf(before); 137 InternalChildren.Insert(index, page); 155 FireAppearing((Page)InternalChildren[0]); 157 Element[] childrenToRemove = InternalChildren.Skip(1).ToArray(); 182 if (InternalChildren.Contains(page)) 223 InternalChildren.Add(page); 225 if (InternalChildren.Count == 1) 246 if (!InternalChildren.Contains(page)) 253 RootPage = (Page)InternalChildren.First(); 263 _castingList = new Lazy<ReadOnlyCastingList<Page, Element>>(() => new ReadOnlyCastingList<Page, Element>(Owner.InternalChildren));
Page\Page.cs (9)
94 if (InternalChildren.Count > 0) 95 InternalChildrenOnCollectionChanged(this, new NotifyCollectionChangedEventArgs(NotifyCollectionChangedAction.Add, InternalChildren)); 97 InternalChildren.CollectionChanged += InternalChildrenOnCollectionChanged; 430 IList<Element> elements = this.InternalChildren; 579 var logicalChildren = this.InternalChildren; 619 var logicalChildren = this.InternalChildren; 750 insertIndex = InternalChildren.IndexOf(item); 794 var logicalChildren = this.InternalChildren; 801 if (InternalChildren.Contains(container.CurrentPage))
Shell\Shell.cs (1)
628 defaultValueCreator: bo => new ShellItemCollection { Inner = new ElementCollection<ShellItem>(((Shell)bo).InternalChildren) });
TemplatedPage.cs (1)
22 IList<Element> IControlTemplated.InternalChildren => InternalChildren;