16 references to GetWindow
Microsoft.Maui (16)
Hosting\LifecycleEvents\AppHostBuilderExtensions.iOS.cs (7)
21
window.
GetWindow
()?.Created();
67
windowScene.GetWindow().
GetWindow
()?.Resumed();
76
sd.GetWindow().
GetWindow
()?.Activated();
84
sd.GetWindow().
GetWindow
()?.Deactivated();
92
sd.GetWindow().
GetWindow
()?.Stopped();
100
sd.GetWindow().
GetWindow
()?.Destroying();
127
var window = platformWindow.
GetWindow
();
Platform\ElementExtensions.cs (1)
170
element.Handler?.MauiContext?.GetPlatformWindow()?.
GetWindow
() ??
Platform\iOS\MauiUIApplicationDelegate.Menu.cs (1)
72
window?.
GetWindow
()?.Handler?.UpdateValue(nameof(IMenuBarElement.MenuBar));
Platform\iOS\MauiUISceneDelegate.cs (2)
54
var window = Window.
GetWindow
();
70
Window?.
GetWindow
()?.Handler?.GetServiceProvider();
Platform\iOS\UIApplicationExtensions.cs (3)
61
if (uiWindowScene.Windows.Length == 1 && uiWindowScene.Windows[0].
GetWindow
() is IWindow window)
71
return application.Windows[0].
GetWindow
();
74
return application.GetKeyWindow().
GetWindow
();
Platform\iOS\UIWindowExtensions.cs (2)
33
var managedWindow = window.
GetWindow
();
43
return sd.GetWindow().
GetWindow
();