1 implementation of IShellSectionController
Microsoft.Maui.Controls (1)
Shell\ShellSection.cs (1)
27
public partial class ShellSection : ShellGroupItem,
IShellSectionController
, IPropertyPropagationController, IVisualTreeElement, IStackNavigation
30 references to IShellSectionController
Microsoft.Maui.Controls (30)
Platform\PageExtensions.cs (1)
15
else if (currentPage is Shell shell && shell.CurrentItem?.CurrentItem is
IShellSectionController
ssc)
Shell\Shell.cs (4)
1718
var items = (shellSection as
IShellSectionController
).GetItems();
1921
if (CurrentItem?.CurrentItem is
IShellSectionController
scc)
1962
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)
39
IShellSectionController
ShellSectionController => this;
46
event EventHandler<NavigationRequestedEventArgs>
IShellSectionController
.NavigationRequested
54
Page
IShellSectionController
.PresentedPage
73
void
IShellSectionController
.AddContentInsetObserver(IShellContentInsetObserver observer)
81
void
IShellSectionController
.AddDisplayedPageObserver(object observer, Action<Page> callback)
87
bool
IShellSectionController
.RemoveContentInsetObserver(IShellContentInsetObserver observer)
92
bool
IShellSectionController
.RemoveDisplayedPageObserver(object observer)
104
void
IShellSectionController
.SendInsetChanged(Thickness inset, double tabThickness)
114
async void
IShellSectionController
.SendPopping(Task poppingCompleted)
131
async void
IShellSectionController
.SendPoppingToRoot(Task finishedPopping)
154
void
IShellSectionController
.SendPopped()
166
ReadOnlyCollection<ShellContent>
IShellSectionController
.GetItems() => ((ShellContentCollection)Items).VisibleItemsReadOnly;
170
void
IShellSectionController
.SendPopping(Page page)
181
void
IShellSectionController
.SendPopped(Page page)
190
event NotifyCollectionChangedEventHandler
IShellSectionController
.ItemsCollectionChanged
709
if (CurrentItem == null && ((
IShellSectionController
)this).GetItems().Contains(child))
924
bool currentPage = (((
IShellSectionController
)this).PresentedPage) == page;
959
if (this is
IShellSectionController
sectionController)
968
if (IsVisibleSection && this is
IShellSectionController
sectionController)
1075
var returnedPage = (_owner as
IShellSectionController
).PresentedPage;
1079
if ((_owner as
IShellSectionController
).PresentedPage == returnedPage)
Shell\ShellUriHandler.cs (1)
955
case
IShellSectionController
section: