19 references to Items
Microsoft.Maui.Controls (19)
Routing.cs (1)
42
foreach (var item in shell.
Items
)
Shell\Shell.cs (11)
24
[ContentProperty(nameof(
Items
))]
629
static readonly BindablePropertyKey ItemsPropertyKey = BindableProperty.CreateReadOnly(nameof(
Items
), typeof(ShellItemCollection), typeof(Shell), null,
945
ReadOnlyCollection<ShellItem> IShellController.GetItems() => ((ShellItemCollection)
Items
).VisibleItemsReadOnly;
949
add { ((ShellItemCollection)
Items
).VisibleItemsChanged += value; }
950
remove { ((ShellItemCollection)
Items
).VisibleItemsChanged -= value; }
1134
/// <summary>Bindable property for <see cref="
Items
"/>.</summary>
1178
ShellController.ItemsCollectionChanged += (_, __) => Handler?.UpdateValue(nameof(
Items
));
1208
((ShellElementCollection)
Items
).VisibleItemsChangedInternal += async (s, e) =>
1675
if (!shell.
Items
.Contains(shellItem))
1676
shell.
Items
.Add(shellItem);
1776
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]);