9 references to GetCurrentShellPage
Microsoft.Maui.Controls (9)
Compatibility\Handlers\Shell\iOS\ShellSectionRenderer.cs (1)
764 var currentPage = _self._context?.Shell?.GetCurrentShellPage();
Menu\MenuItemTracker.cs (4)
132 if (shell.GetCurrentShellPage() is Page shellPage && shellPage != shell) 214 if (shell.GetCurrentShellPage() is Page currentShellPage) 230 if (((Shell)sender).GetCurrentShellPage() is Page page) 236 if (((Shell)sender).GetCurrentShellPage() is Page page)
Shell\Shell.cs (1)
1795 element = element ?? (Element)GetCurrentShellPage() ?? CurrentContent;
Shell\ShellItem.cs (1)
105 var displayedPage = shell.GetCurrentShellPage();
ShellToolbar.cs (2)
56 var currentPage = _shell.GetCurrentShellPage(); 174 Page? currentPage = _shell.GetCurrentShellPage();