13 references to CurrentState
Microsoft.Maui.Controls (13)
Shell\Shell.cs (6)
625
BindableProperty.CreateReadOnly(nameof(
CurrentState
), typeof(ShellNavigationState), typeof(Shell), null);
928
var oldState =
CurrentState
;
939
_navigationManager.HandleNavigated(new ShellNavigatedEventArgs(oldState,
CurrentState
, source));
1064
/// <summary>Bindable property for <see cref="
CurrentState
"/>.</summary>
1229
var location =
CurrentState
.Location;
1542
var args = new ShellNavigatingEventArgs(this.
CurrentState
, new ShellNavigationState(""), ShellNavigationSource.Pop, true);
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)
1173
_owner.Shell.
CurrentState
,
1202
_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);