1 write to _window
Microsoft.Maui.Controls (1)
Platform\ModalNavigationManager\ModalNavigationManager.cs (1)
48 _window = window;
24 references to _window
Microsoft.Maui.Controls (24)
Platform\ModalNavigationManager\ModalNavigationManager.cs (24)
14 IMauiContext WindowMauiContext => _window.MauiContext; 22 _platformModalPages.Count > 0 ? _platformModalPages[_platformModalPages.Count - 1] : (_window.Page ?? throw new InvalidOperationException("Current Window isn't loaded")); 31 var currentPage = _modalPages.Count > 0 ? _modalPages[_modalPages.Count - 1].Page : _window.Page; 42 bool FireLifeCycleEvents => _window?.Page is not Shell; 49 _window.PropertyChanged += (_, args) => 57 _window.HandlerChanging += OnWindowHandlerChanging; 58 _window.Destroying += (_, _) => 91 _window?.Page?.Handler is not null && 92 _window.Handler is not null 99 var logger = _window.FindMauiContext(true)?.Services?.CreateLogger<ModalNavigationManager>(); 105 var logger = _window.FindMauiContext(true)?.Services?.CreateLogger<ModalNavigationManager>(); 207 if (_window.OnModalPopping(modal)) 209 _window.OnPopCanceled(); 224 if (_window.Page is Shell shell) 242 _window.OnModalPopped(modal); 260 _window.OnModalPushing(modal); 264 _window.AddLogicalChild(modal); 271 if (_window.Page is Shell shell) 292 modal.NavigationProxy.Inner = _window.Navigation; 298 modal.NavigationProxy.Inner = _window.Navigation; 308 _window.OnModalPushed(modal); 316 if (_window.Page is null) 322 if (_currentPage != _window.Page) 325 _currentPage = _window.Page;