1 write to _shell
Microsoft.Maui.Controls (1)
Shell\ShellNavigationManager.cs (1)
22 _shell = shell;
39 references to _shell
Microsoft.Maui.Controls (39)
Shell\ShellNavigationManager.cs (39)
52 if (_shell?.CurrentItem?.CurrentItem?.PendingNavigationTask != null) 53 await (_shell?.CurrentItem?.CurrentItem?.PendingNavigationTask ?? Task.CompletedTask); 63 navigationRequest ??= ShellUriHandler.GetNavigationRequest(_shell, state.FullLocation, enableRelativeShellRoutes, shellNavigationParameters: shellNavigationParameters); 68 ShellNavigationSource source = CalculateNavigationSource(_shell, _shell.CurrentState, navigationRequest); 75 bool canCancel = (shellNavigationParameters.CanCancel.HasValue) ? shellNavigationParameters.CanCancel.Value : _shell.CurrentState != null; 89 Routing.RegisterImplicitPageRoutes(_shell); 96 ApplyQueryAttributes(_shell, parameters, false, false); 100 var currentShellSection = _shell.CurrentItem?.CurrentItem; 118 await nextActiveSection.GoToAsync(navigationRequest, parameters, _shell.FindMauiContext()?.Services, isAnimated, isRelativePopping); 146 if (_shell.CurrentItem != shellItem) 148 _shell.SetValueFromRenderer(Shell.CurrentItemProperty, shellItem); 154 if (_shell?.CurrentItem?.CurrentItem?.PendingNavigationTask != null) 155 await (_shell?.CurrentItem?.CurrentItem?.PendingNavigationTask ?? Task.CompletedTask); 178 await _shell.Dispatcher.DispatchAsync(() => 180 return _shell.CurrentItem.CurrentItem.GoToAsync(navigationRequest, parameters, _shell.FindMauiContext()?.Services, animate, isRelativePopping); 188 await _shell.Dispatcher.DispatchAsync(() => 190 return _shell.CurrentItem.CurrentItem.GoToAsync(navigationRequest, parameters, _shell.FindMauiContext()?.Services, animate, isRelativePopping); 196 await _shell.CurrentItem.CurrentItem.GoToAsync(navigationRequest, parameters, _shell.FindMauiContext()?.Services, animate, isRelativePopping); 201 if (_shell?.CurrentItem?.CurrentItem?.PendingNavigationTask != null) 202 await (_shell?.CurrentItem?.CurrentItem?.PendingNavigationTask ?? Task.CompletedTask); 204 (_shell as IShellController).UpdateCurrentState(source); 219 if (_shell.Window == null || _shell.CurrentPage == null) 221 _shell.PropertyChanged += WaitForWindowToSet; 222 var shellContent = _shell?.CurrentItem?.CurrentItem?.CurrentItem; 229 _shell.PropertyChanged -= WaitForWindowToSet; 236 if (_shell.Window != null && 237 _shell.CurrentPage != null) 242 _shell.CurrentItem?.SendAppearing(); 258 BaseShellItem baseShellItem = _shell.CurrentItem?.CurrentItem?.CurrentItem; 264 FireNavigatedEvents(args, _shell); 269 FireNavigatedEvents(args, _shell); 277 Routing.RegisterImplicitPageRoutes(_shell); 367 await _shell 385 var navArgs = new ShellNavigatingEventArgs(_shell.CurrentState, proposedState, source, canCancel)