21 references to Items
Microsoft.Maui.Controls (21)
Routing.cs (1)
44
foreach (var section in item.
Items
)
Shell\Shell.cs (1)
1645
foreach (var section in oldShellItem.
Items
)
Shell\ShellItem.cs (12)
52
[ContentProperty(nameof(
Items
))]
60
static readonly BindablePropertyKey ItemsPropertyKey = BindableProperty.CreateReadOnly(nameof(
Items
), typeof(ShellSectionCollection), typeof(ShellItem), null,
91
ReadOnlyCollection<ShellSection> IShellItemController.GetItems() => ((ShellSectionCollection)
Items
).VisibleItemsReadOnly;
95
add { ((ShellSectionCollection)
Items
).VisibleItemsChanged += value; }
96
remove { ((ShellSectionCollection)
Items
).VisibleItemsChanged -= value; }
148
/// <summary>Bindable property for <see cref="
Items
"/>.</summary>
156
((ShellElementCollection)
Items
).VisibleItemsChangedInternal += (_, args) =>
177
(
Items
as INotifyCollectionChanged).CollectionChanged += ItemsCollectionChanged;
191
internal override ShellElementCollection ShellElementCollection => (ShellElementCollection)
Items
;
212
if (current.
Items
.Contains(shellSection))
227
result.
Items
.Add(shellSection);
382
public IList<ShellSection> Items => shellItem.
Items
;
Shell\ShellItemCollection.cs (2)
27
(this[i] as ShellItem).
Items
.Add(item.
Items
[0]);
Shell\ShellUriHandler.cs (5)
822
sectionIndex = Item.
Items
.IndexOf(Section);
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;)
838
nodeLocation.SetNode(Shell.Items[i].
Items
[j]);
839
nodeLocation.SetNode(Shell.Items[i].
Items
[j].Items[k]);