1 implementation of IShellSectionController
Microsoft.Maui.Controls (1)
Shell\ShellSection.cs (1)
25 public partial class ShellSection : ShellGroupItem, IShellSectionController, IPropertyPropagationController, IVisualTreeElement, IStackNavigation
43 references to IShellSectionController
Microsoft.Maui.Controls (43)
Compatibility\Handlers\Shell\iOS\ShellItemRenderer.cs (3)
141 ((IShellSectionController)_currentSection).RemoveDisplayedPageObserver(this); 367 ((IShellSectionController)_currentSection).RemoveDisplayedPageObserver(this); 374 ((IShellSectionController)_currentSection).AddDisplayedPageObserver(this, OnDisplayedPageChanged);
Compatibility\Handlers\Shell\iOS\ShellSectionRenderer.cs (7)
33 ((IShellSectionController)_shellSection).NavigationRequested += OnNavigationRequested; 37 IShellSectionController ShellSectionController => ShellSection; 245 ((IShellSectionController)ShellSection).NavigationRequested -= OnNavigationRequested; 246 ((IShellSectionController)ShellSection).RemoveDisplayedPageObserver(this); 418 ((IShellSectionController)ShellSection).SendPoppingToRoot(task.Task); 494 ((IShellSectionController)ShellSection).AddDisplayedPageObserver(this, OnDisplayedPageChanged); 651 ((IShellSectionController)_shellSection).SendPopping(popTask);
Compatibility\Handlers\Shell\iOS\ShellSectionRootHeader.cs (1)
80 IShellSectionController ShellSectionController => ShellSection;
Compatibility\Handlers\Shell\iOS\ShellSectionRootRenderer.cs (2)
49 IShellSectionController ShellSectionController => ShellSection; 608 ((IShellSectionController)ShellSection).SendInsetChanged(_lastInset, _lastTabThickness);
Platform\PageExtensions.cs (1)
15 else if (currentPage is Shell shell && shell.CurrentItem?.CurrentItem is IShellSectionController ssc)
Shell\Shell.cs (4)
1716 var items = (shellSection as IShellSectionController).GetItems(); 1919 if (CurrentItem?.CurrentItem is IShellSectionController scc) 1960 var controller = (IShellSectionController)element;
Shell\ShellExtensions.cs (1)
53 case IShellSectionController section:
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 (21)
37 IShellSectionController ShellSectionController => this; 44 event EventHandler<NavigationRequestedEventArgs> IShellSectionController.NavigationRequested 52 Page IShellSectionController.PresentedPage 71 void IShellSectionController.AddContentInsetObserver(IShellContentInsetObserver observer) 79 void IShellSectionController.AddDisplayedPageObserver(object observer, Action<Page> callback) 85 bool IShellSectionController.RemoveContentInsetObserver(IShellContentInsetObserver observer) 90 bool IShellSectionController.RemoveDisplayedPageObserver(object observer) 102 void IShellSectionController.SendInsetChanged(Thickness inset, double tabThickness) 112 async void IShellSectionController.SendPopping(Task poppingCompleted) 129 async void IShellSectionController.SendPoppingToRoot(Task finishedPopping) 152 void IShellSectionController.SendPopped() 164 ReadOnlyCollection<ShellContent> IShellSectionController.GetItems() => ((ShellContentCollection)Items).VisibleItemsReadOnly; 168 void IShellSectionController.SendPopping(Page page) 179 void IShellSectionController.SendPopped(Page page) 188 event NotifyCollectionChangedEventHandler IShellSectionController.ItemsCollectionChanged 696 if (CurrentItem == null && ((IShellSectionController)this).GetItems().Contains(child)) 911 bool currentPage = (((IShellSectionController)this).PresentedPage) == page; 946 if (this is IShellSectionController sectionController) 955 if (IsVisibleSection && this is IShellSectionController sectionController) 1062 var returnedPage = (_owner as IShellSectionController).PresentedPage; 1066 if ((_owner as IShellSectionController).PresentedPage == returnedPage)
Shell\ShellUriHandler.cs (1)
955 case IShellSectionController section: