1 implementation of GetItems
Microsoft.Maui.Controls (1)
Shell\ShellSection.cs (1)
164 ReadOnlyCollection<ShellContent> IShellSectionController.GetItems() => ((ShellContentCollection)Items).VisibleItemsReadOnly;
22 references to GetItems
Microsoft.Maui.Controls (22)
Compatibility\Handlers\Shell\iOS\ShellSectionRootHeader.cs (6)
99 var shellContent = ShellSectionController.GetItems()[indexPath.Row]; 117 return ShellSectionController.GetItems().Count; 130 var item = ShellSectionController.GetItems()[row]; 147 var item = ShellSectionController.GetItems()[row]; 237 if (ShellSectionController.GetItems().IndexOf(ShellSection.CurrentItem) != SelectedIndex) 270 SelectedIndex = ShellSectionController.GetItems().IndexOf(ShellSection.CurrentItem);
Compatibility\Handlers\Shell\iOS\ShellSectionRootRenderer.cs (9)
224 var items = ShellSectionController.GetItems(); 244 var items = ShellSectionController.GetItems(); 268 var contentItems = ShellSectionController.GetItems(); 280 contentItems = ShellSectionController.GetItems(); 293 contentItems = ShellSectionController.GetItems(); 331 _currentIndex = ShellSectionController.GetItems().IndexOf(_currentContent); 336 var items = ShellSectionController.GetItems(); 418 var sectionItems = ShellSectionController.GetItems(); 462 bool visible = ShellSectionController.GetItems().Count > 1;
Shell\Shell.cs (1)
1716 var items = (shellSection as IShellSectionController).GetItems();
Shell\ShellExtensions.cs (1)
54 foreach (var content in section.GetItems())
Shell\ShellFlyoutItemsManager.cs (1)
120 var shellContents = ((IShellSectionController)shellSection).GetItems();
Shell\ShellNavigationManager.cs (1)
298 if (element is IShellSectionController shellsection && shellsection.GetItems().FirstOrDefault() is ShellContent content)
Shell\ShellSection.cs (2)
696 if (CurrentItem == null && ((IShellSectionController)this).GetItems().Contains(child)) 707 var contentItems = ShellSectionController.GetItems();
Shell\ShellUriHandler.cs (1)
956 results = section.GetItems();