19 references to Items
Microsoft.Maui.Controls (19)
Routing.cs (1)
42 foreach (var item in shell.Items)
Shell\Shell.cs (11)
23 [ContentProperty(nameof(Items))] 627 static readonly BindablePropertyKey ItemsPropertyKey = BindableProperty.CreateReadOnly(nameof(Items), typeof(ShellItemCollection), typeof(Shell), null, 943 ReadOnlyCollection<ShellItem> IShellController.GetItems() => ((ShellItemCollection)Items).VisibleItemsReadOnly; 947 add { ((ShellItemCollection)Items).VisibleItemsChanged += value; } 948 remove { ((ShellItemCollection)Items).VisibleItemsChanged -= value; } 1132 /// <summary>Bindable property for <see cref="Items"/>.</summary> 1176 ShellController.ItemsCollectionChanged += (_, __) => Handler?.UpdateValue(nameof(Items)); 1206 ((ShellElementCollection)Items).VisibleItemsChangedInternal += async (s, e) => 1673 if (!shell.Items.Contains(shellItem)) 1674 shell.Items.Add(shellItem); 1774 if (Items.Count <= 1)
Shell\ShellUriHandler.cs (7)
817 itemIndex = Shell.Items.IndexOf(Item); 830 for (int i = itemIndex; i < Shell.Items.Count; i++) 832 for (int j = sectionIndex; j < Shell.Items[i].Items.Count; j++) 834 for (int k = contentIndex; k < Shell.Items[i].Items[j].Items.Count;) 837 nodeLocation.SetNode(Shell.Items[i]); 838 nodeLocation.SetNode(Shell.Items[i].Items[j]); 839 nodeLocation.SetNode(Shell.Items[i].Items[j].Items[k]);