20 references to Items
Microsoft.Maui.Controls (20)
Routing.cs (1)
44
foreach (var section in item.
Items
)
Shell\Shell.cs (1)
1643
foreach (var section in oldShellItem.
Items
)
Shell\ShellItem.cs (11)
51
[ContentProperty(nameof(
Items
))]
58
static readonly BindablePropertyKey ItemsPropertyKey = BindableProperty.CreateReadOnly(nameof(
Items
), typeof(ShellSectionCollection), typeof(ShellItem), null,
89
ReadOnlyCollection<ShellSection> IShellItemController.GetItems() => ((ShellSectionCollection)
Items
).VisibleItemsReadOnly;
93
add { ((ShellSectionCollection)
Items
).VisibleItemsChanged += value; }
94
remove { ((ShellSectionCollection)
Items
).VisibleItemsChanged -= value; }
146
/// <summary>Bindable property for <see cref="
Items
"/>.</summary>
154
((ShellElementCollection)
Items
).VisibleItemsChangedInternal += (_, args) =>
175
(
Items
as INotifyCollectionChanged).CollectionChanged += ItemsCollectionChanged;
189
internal override ShellElementCollection ShellElementCollection => (ShellElementCollection)
Items
;
210
if (current.
Items
.Contains(shellSection))
225
result.
Items
.Add(shellSection);
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]);