12 references to Windows
Microsoft.Maui.Controls (12)
Application\Application.cs (8)
95
if (
Windows
.Count == 0)
98
return
Windows
[0].Page;
121
if (
Windows
.Count == 1)
123
Windows
[0].Page = value;
413
IReadOnlyList<Maui.IVisualTreeElement> IVisualTreeElement.GetVisualChildren() => this.
Windows
;
538
if (
Windows
.Count > 1)
543
if (
Windows
.Count > 0)
544
return
Windows
[0];
Shell\Shell.cs (4)
956
if (Application.Current is null || Application.Current.
Windows
.Count == 0)
959
if (Application.Current.
Windows
.Count == 1)
961
return Application.Current.
Windows
[0].Page as Shell;
968
foreach (var window in Application.Current.
Windows
)