1 instantiation of Window
Microsoft.Maui.Controls (1)
Application\Application.cs (1)
547 return new Window(_singleWindowMainPage);
74 references to Window
Microsoft.Maui.Controls (74)
AdaptiveTrigger.cs (1)
10 Window? _window;
Application\Application.cs (15)
417 readonly List<Window> _windows = new(); 418 readonly Dictionary<string, WeakReference<Window>> _requestedWindows = new(StringComparer.Ordinal); 426 public IReadOnlyList<Window> Windows => _windows; 430 Window? window = null; 437 if (r.TryGetTarget(out var w)) 463 if (window is Window cwindow) 476 if (window is Window cwindow) 482 internal void RemoveWindow(Window window) 503 public virtual void OpenWindow(Window window) 506 _requestedWindows.Add(id, new WeakReference<Window>(window)); 516 public virtual void CloseWindow(Window window) 521 public virtual void ActivateWindow(Window window) 531 protected virtual Window CreateWindow(IActivationState? activationState) 534 var window = windowCreator?.CreateWindow(this, activationState); 554 internal void AddWindow(Window window)
Cells\Cell.cs (2)
72 Window _window; 73 Window IWindowController.Window
Hosting\AppHostBuilderExtensions.cs (2)
103 handlersCollection.AddHandler<Window, WindowHandler>(); 254 Window.RemapForControls();
IControlsVisualElement.cs (1)
9 Window? Window { get; }
IWindowController.cs (1)
5 Window Window { get; set; }
IWindowCreator.cs (1)
5 Window CreateWindow(Application app, IActivationState? activationState);
NavigationPage\NavigationPage.cs (2)
546 if (_toolbar.Parent is Window w && 599 if (toolbarRoot is Window w)
Page\Page.cs (5)
471 var window = RealParent as Window; 941 /// <returns>The <see cref="Window"/> instance that parents the page.</returns> 942 public virtual Window GetParentWindow() 943 => this.FindParentOfType<Window>();
Platform\AlertManager\AlertManager.cs (2)
6 readonly Window _window; 8 public AlertManager(Window window)
Platform\AlertManager\AlertMananger.Standard.cs (2)
8 internal static void Subscribe(Window window) 12 internal static void Unsubscribe(Window window)
Platform\ModalNavigationManager\ModalNavigationManager.cs (3)
12 Window _window; 46 public ModalNavigationManager(Window window) 51 if (args.Is(Window.PageProperty))
Shell\BaseShellItem.cs (5)
296 nameof(Window), typeof(Window), typeof(BaseShellItem), null); 301 public Window Window => (Window)GetValue(WindowProperty); 303 Window IWindowController.Window 305 get => (Window)GetValue(WindowProperty);
Shell\Shell.cs (1)
968 foreach (var window in Application.Current.Windows)
ViewExtensions.cs (2)
505 var window = (element as Window) ?? (element as IWindowController)?.Window;
VisualElement\VisualElement.cs (11)
482 nameof(Window), typeof(Window), typeof(VisualElement), null, propertyChanged: OnWindowChanged); 490 public Window Window => (Window)GetValue(WindowProperty); 493 Window IWindowController.Window 495 get => (Window)GetValue(WindowProperty); 2301 var newWindow = (Window?)newValue; 2302 var oldWindow = (Window?)oldValue; 2318 void UpdatePlatformUnloadedLoadedWiring(Window? newWindow, Window? oldWindow = null)
Window\Window.cs (18)
19 nameof(Title), typeof(string), typeof(Window), default(string?)); 23 nameof(Page), typeof(Page), typeof(Window), default(Page?), 25 propertyChanged: (b, o, n) => ((Window)b).OnPageChanged(o as Page, n as Page)); 29 BindableProperty.Create(nameof(FlowDirection), typeof(FlowDirection), typeof(Window), FlowDirection.MatchParent, propertyChanging: FlowDirectionChanging, propertyChanged: FlowDirectionChanged); 33 nameof(X), typeof(double), typeof(Window), Primitives.Dimension.Unset); 37 nameof(Y), typeof(double), typeof(Window), Primitives.Dimension.Unset); 41 nameof(Width), typeof(double), typeof(Window), Primitives.Dimension.Unset); 45 nameof(Height), typeof(double), typeof(Window), Primitives.Dimension.Unset); 49 nameof(MaximumWidth), typeof(double), typeof(Window), Primitives.Dimension.Maximum); 53 nameof(MaximumHeight), typeof(double), typeof(Window), Primitives.Dimension.Maximum); 57 nameof(MinimumWidth), typeof(double), typeof(Window), Primitives.Dimension.Minimum); 61 nameof(MinimumHeight), typeof(double), typeof(Window), Primitives.Dimension.Minimum); 65 nameof(TitleBar), typeof(TitleBar), typeof(Window), null, propertyChanged: TitleBarChanged); 390 var self = (Window)bindable; 408 Window IWindowController.Window 693 readonly Window _owner; 695 public NavigationImpl(Window owner)