2 implementations of NavigationStack
Microsoft.Maui.Controls (1)
NavigationProxy.cs (1)
83 public IReadOnlyList<Page> NavigationStack
Microsoft.Maui.Controls.Compatibility (1)
Tizen\Platform.cs (1)
176 IReadOnlyList<Page> INavigation.NavigationStack => new List<Page>();
26 references to NavigationStack
Microsoft.Maui.Controls (26)
Compatibility\Handlers\NavigationPage\iOS\NavigationRenderer.cs (1)
896 if (Element.Navigation.NavigationStack.Contains(pageBeingRemoved))
NavigationPage\NavigationPage.cs (3)
508 IReadOnlyList<IView> NavigationStack => this.Navigation.NavigationStack; 693 var navStack = Navigation.NavigationStack; 694 var visiblePage = Navigation.NavigationStack[NavigationStack.Count - 1];
NavigationPage\NavigationPageToolbar.cs (3)
147 if (navPage.Navigation.NavigationStack.Count == 0) 150 if (navPage.Navigation.NavigationStack.Count > 1) 211 var stack = navigationPage.Navigation.NavigationStack;
NavigationProxy.cs (1)
167 return currentInner is null ? _pushStack.Value : currentInner.NavigationStack;
Routing.cs (2)
46 var navigationStackCount = section.Navigation.NavigationStack.Count; 49 RegisterImplicitPageRoute(section.Navigation.NavigationStack[i]);
Shell\BaseShellItem.cs (3)
181 else if (Navigation.NavigationStack.Count > 1) 183 Navigation.NavigationStack[Navigation.NavigationStack.Count - 1]
Shell\Shell.cs (3)
848 var state = ShellNavigationManager.GetNavigationState(shellItem, shellSection, shellContent, shellSection.Navigation.NavigationStack, null); 882 var navParameters = ShellNavigationManager.GetNavigationParameters(shellItem, shellSection, shellContent, shellSection.Navigation.NavigationStack, null); 1937 var navStack = CurrentSection?.Navigation?.NavigationStack;
Shell\ShellNavigationManager.cs (6)
185 nextActiveSection?.Navigation?.NavigationStack?.Count > 1) 488 var navStack = shellSection.Navigation.NavigationStack; 560 for (int j = 1; j < topPage.Navigation.NavigationStack.Count; j++) 562 routeStack.AddRange(ShellUriHandler.CollapsePath(Routing.GetRoute(topPage.Navigation.NavigationStack[j]), routeStack, hasUserDefinedRoute)); 590 for (int j = 1; j < modalStack[i].Navigation.NavigationStack.Count; j++) 592 returnValue.Add(modalStack[i].Navigation.NavigationStack[j]);
Shell\ShellSection.cs (2)
59 return np.Navigation.NavigationStack[np.Navigation.NavigationStack.Count - 1];
ShellToolbar.cs (2)
72 var stack = _shell.Navigation.NavigationStack; 181 else if (_shell.Navigation?.NavigationStack?.Count <= 1)