2 writes to Page
Microsoft.Maui.Controls (2)
Application\Application.cs (1)
122 Windows[0].Page = value;
Window\Window.cs (1)
101 Page = page;
33 references to Page
Microsoft.Maui.Controls (33)
Application\Application.cs (4)
97 return Windows[0].Page; 448 if (_singleWindowMainPage != null && window.Page != null && window.Page != _singleWindowMainPage) 483 if (_singleWindowMainPage != null && window.Page == _singleWindowMainPage)
NavigationPage\NavigationPage.cs (2)
591 if (Window.Page == topLevelPage) 604 _toolbar = new NavigationPageToolbar(w, w.Page);
Page\Page.cs (1)
469 if (window == null || this == window.Page)
Platform\iOS\ControlsModalWrapper.cs (1)
67 if (window?.Page is Shell shell)
Platform\ModalNavigationManager\ModalNavigationManager.cs (9)
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; 91 _window?.Page?.Handler is not null && 224 if (_window.Page is Shell shell) 271 if (_window.Page is Shell shell) 316 if (_window.Page is null) 322 if (_currentPage != _window.Page) 325 _currentPage = _window.Page;
Platform\ModalNavigationManager\ModalNavigationManager.iOS.cs (3)
40 _window.Page != _currentPage) 72 if (_window?.Page?.Handler is IPlatformViewHandler pvh && 110 if (_window?.Page?.Handler is not null)
Shell\Shell.cs (2)
961 return Application.Current.Windows[0].Page as Shell; 970 if (window.Page is Shell shell)
Window\Window.cs (11)
14 [ContentProperty(nameof(Page))] 21 /// <summary>Bindable property for <see cref="Page"/>.</summary> 23 nameof(Page), typeof(Page), typeof(Window), default(Page?), 112 string? ITitledElement.Title => Title ?? (Page as Shell)?.Title; 276 if (propertyName == nameof(Page)) 355 double IFlowDirectionController.Width => (Page as VisualElement)?.Width ?? 0; 414 Page ?? throw new InvalidOperationException("No page was set on the window."); 427 Page?.SendAppearing(); 433 Page?.SendDisappearing(); 578 Page is IFlowDirectionController controller && 682 return this.Page?.SendBackButtonPressed() ?? false;