15 references to CurrentState
Microsoft.Maui.Controls (15)
Shell\Shell.cs (8)
627 BindableProperty.CreateReadOnly(nameof(CurrentState), typeof(ShellNavigationState), typeof(Shell), null); 930 var oldState = CurrentState; 941 _navigationManager.HandleNavigated(new ShellNavigatedEventArgs(oldState, CurrentState, source)); 1066 /// <summary>Bindable property for <see cref="CurrentState"/>.</summary> 1231 var location = CurrentState.Location; 1544 var args = new ShellNavigatingEventArgs(this.CurrentState, new ShellNavigationState(""), ShellNavigationSource.Pop, true); 2165 public ShellNavigationState CurrentState => shell.CurrentState; 2167 public Uri AbsoluteUrl => shell.CurrentState.FullLocation;
Shell\ShellNavigationManager.cs (3)
68 ShellNavigationSource source = CalculateNavigationSource(_shell, _shell.CurrentState, navigationRequest); 75 bool canCancel = (shellNavigationParameters.CanCancel.HasValue) ? shellNavigationParameters.CanCancel.Value : _shell.CurrentState != null; 385 var navArgs = new ShellNavigatingEventArgs(_shell.CurrentState, proposedState, source, canCancel)
Shell\ShellSection.cs (2)
1186 _owner.Shell.CurrentState, 1215 _owner.Shell.CurrentState,
Shell\ShellUriHandler.cs (2)
19 if (path.OriginalString.StartsWith("..", StringComparison.Ordinal) && shell?.CurrentState != null) 377 var matches = SearchForGlobalRoutes(segments, shell.CurrentState.FullLocation, currentLocation, routeKeys);