1 type derived from Window
Microsoft.Maui.Controls (1)
Embedding\EmbeddedWindow.cs (1)
9class EmbeddedWindow : Window, IWindow
1 instantiation of Window
Microsoft.Maui.Controls (1)
Application\Application.cs (1)
546 return new Window(_singleWindowMainPage);
79 references to Window
Microsoft.Maui.Controls (79)
AdaptiveTrigger.cs (1)
10 Window? _window;
Application\Application.cs (15)
416 readonly List<Window> _windows = new(); 417 readonly Dictionary<string, WeakReference<Window>> _requestedWindows = new(StringComparer.Ordinal); 425 public IReadOnlyList<Window> Windows => _windows; 429 Window? window = null; 436 if (r.TryGetTarget(out var w)) 462 if (window is Window cwindow) 475 if (window is Window cwindow) 481 internal void RemoveWindow(Window window) 502 public virtual void OpenWindow(Window window) 505 _requestedWindows.Add(id, new WeakReference<Window>(window)); 515 public virtual void CloseWindow(Window window) 520 public virtual void ActivateWindow(Window window) 530 protected virtual Window CreateWindow(IActivationState? activationState) 533 var window = windowCreator?.CreateWindow(this, activationState); 553 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)
549 if (_toolbar.Parent is Window w && 602 if (toolbarRoot is Window w)
Page\Page.cs (5)
470 var window = RealParent as Window; 940 /// <returns>The <see cref="Window"/> instance that parents the page.</returns> 941 public virtual Window GetParentWindow() 942 => this.FindParentOfType<Window>();
Platform\AlertManager\AlertManager.cs (2)
6 readonly Window _window; 8 public AlertManager(Window window)
Platform\AlertManager\AlertManager.iOS.cs (5)
18 internal void Subscribe(Window window) 28 internal void Unsubscribe(Window window) 50 internal AlertRequestHelper(Window virtualView, UIWindow platformView) 63 public Window VirtualView { get; } 179 static void PresentPopUp(Page sender, Window virtualView, UIWindow platformView, UIAlertController alert, ActionSheetArguments arguments = null)
Platform\iOS\ControlsModalWrapper.cs (1)
66 var window = (_modal?.VirtualView as Page)?.Window;
Platform\ModalNavigationManager\ModalNavigationManager.cs (3)
12 Window _window; 46 public ModalNavigationManager(Window window) 51 if (args.Is(Window.PageProperty))
Platform\ModalNavigationManager\ModalNavigationManager.iOS.cs (1)
34 if (e.PropertyName != Window.PageProperty.PropertyName)
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)
481 nameof(Window), typeof(Window), typeof(VisualElement), null, propertyChanged: OnWindowChanged); 489 public Window Window => (Window)GetValue(WindowProperty); 492 Window IWindowController.Window 494 get => (Window)GetValue(WindowProperty); 2293 var newWindow = (Window?)newValue; 2294 var oldWindow = (Window?)oldValue; 2310 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)