57 references to Routing
Microsoft.Maui.Controls (57)
Routing.cs (1)
129 => BindableProperty.CreateAttached("Route", typeof(string), typeof(Routing), null,
Shell\BaseShellItem.cs (4)
104 get { return Routing.GetRoute(this); } 105 set { Routing.SetRoute(this, value); } 260 if (onlyToImplicit && Routing.IsImplicit(from)) 344 if (!Routing.IsImplicit(parent))
Shell\RouteRequestBuilder.cs (4)
80 if (Routing.IsUserDefined(baseShellItem.Route) && baseShellItem.Route != nextSegment) 91 if (Routing.IsUserDefined(baseShellItem)) 158 if (Routing.IsUserDefined(shellSegment) || shellSegment == userSegment || shellSegment == NextSegment) 225 return Routing.FormatRoute(String.Join(_uriSeparator, _allSegments.Skip(nextMatch)));
Shell\Shell.cs (5)
1166 Route = Routing.GenerateImplicitRoute("shell"); 1469 get => Routing.GetRoute(this); 1470 set => Routing.SetRoute(this, value); 1772 else if (rootItem != null && Routing.IsImplicit(rootItem)) 1800 if (ignoreImplicit && Routing.IsImplicit(element))
Shell\ShellContent.cs (2)
286 var pageRoute = Routing.GetRoute(page); 288 shellContent.Route = Routing.GenerateImplicitRoute(pageRoute);
Shell\ShellFlyoutItemsManager.cs (3)
110 if (Routing.IsImplicit(shellItem) || shellItem.FlyoutDisplayOptions == FlyoutDisplayOptions.AsMultipleItems) 121 if (Routing.IsImplicit(shellSection) || shellSection.FlyoutDisplayOptions == FlyoutDisplayOptions.AsMultipleItems) 142 if (Routing.IsImplicit(shellSection) && shellContents.Count == 1)
Shell\ShellItem.cs (1)
223 result.Route = Routing.GenerateImplicitRoute(shellSection.Route);
Shell\ShellItemCollection.cs (2)
20 if (Routing.IsImplicit(item) && 25 if (i >= 0 && this[i] is TabBar && Routing.IsImplicit(this[i]))
Shell\ShellNavigationManager.cs (13)
56 Routing.RegisterImplicitPageRoute(shellNavigationParameters.PagePushing); 58 var state = shellNavigationParameters.TargetState ?? new ShellNavigationState(Routing.GetRoute(shellNavigationParameters.PagePushing), false); 89 Routing.RegisterImplicitPageRoutes(_shell); 276 Routing.ClearImplicitPageRoutes(); 277 Routing.RegisterImplicitPageRoutes(_shell); 287 var route = Routing.GetRoute(element); 288 if (string.IsNullOrEmpty(route) || Routing.IsImplicit(route)) 523 (Routing.IsUserDefined(shellItem)) || 524 (Routing.IsUserDefined(shellSection)) || 525 (Routing.IsUserDefined(shellContent)); 548 routeStack.AddRange(ShellUriHandler.CollapsePath(Routing.GetRoute(page), routeStack, hasUserDefinedRoute)); 558 routeStack.AddRange(ShellUriHandler.CollapsePath(Routing.GetRoute(topPage), routeStack, hasUserDefinedRoute)); 562 routeStack.AddRange(ShellUriHandler.CollapsePath(Routing.GetRoute(topPage.Navigation.NavigationStack[j]), routeStack, hasUserDefinedRoute));
Shell\ShellNavigationState.cs (5)
73 string[] parts = uri.OriginalString.TrimEnd(Routing.PathSeparator[0]).Split(Routing.PathSeparator[0]); 80 if (!(Routing.IsDefault(parts[i])) && !(Routing.IsImplicit(parts[i]))) 101 return new Uri(string.Join(Routing.PathSeparator, toKeep), UriKind.Relative);
Shell\ShellSection.cs (6)
292 shellSection.Route = Routing.GenerateImplicitRoute(contentRoute); 333 var routeToRemove = Routing.GetRoute(navStackCopy[i]); 357 if (navIndex < _navStack.Count && Routing.GetRoute(_navStack[navIndex]) == globalRoutes[i]) 400 if (Routing.GetRoute(navPage) == route) 469 if (Routing.GetRoute(_navStack[j]) == globalRoutes[i]) 487 var content = Routing.GetOrCreateContent(route, services) as Page;
Shell\ShellUriHandler.cs (11)
51 var route = Routing.GetRoute(page); 230 var routeKeys = Routing.GetRouteKeys(); 495 if (Routing.IsImplicit(route) || 496 (Routing.IsDefault(route) && removeUserDefinedRoute)) 786 if (Item != null && !Routing.IsImplicit(Item)) 788 if (Section != null && !Routing.IsImplicit(Section)) 790 if (Content != null && !Routing.IsImplicit(Content)) 900 if (shellSegment == userSegment || Routing.IsImplicit(shellSegment)) 910 if (!Routing.IsImplicit(shellSegment) || shellSegment == userSegment) 975 var keys = Routing.GetRouteKeys(); 1010 var route = Routing.FormatRoute(segments);