1 implementation of IShellSectionController
Microsoft.Maui.Controls (1)
Shell\ShellSection.cs (1)
25
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)
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
707
if (CurrentItem == null && ((
IShellSectionController
)this).GetItems().Contains(child))
922
bool currentPage = (((
IShellSectionController
)this).PresentedPage) == page;
957
if (this is
IShellSectionController
sectionController)
966
if (IsVisibleSection && this is
IShellSectionController
sectionController)
1073
var returnedPage = (_owner as
IShellSectionController
).PresentedPage;
1077
if ((_owner as
IShellSectionController
).PresentedPage == returnedPage)
Shell\ShellUriHandler.cs (1)
955
case
IShellSectionController
section: