1 type derived from Window
Microsoft.Maui.Controls (1)
Embedding\EmbeddedWindow.cs (1)
9
class EmbeddedWindow :
Window
, IWindow
1 instantiation of Window
Microsoft.Maui.Controls (1)
Application\Application.cs (1)
545
return new
Window
(_singleWindowMainPage);
79 references to Window
Microsoft.Maui.Controls (79)
AdaptiveTrigger.cs (1)
10
Window
? _window;
Application\Application.cs (15)
415
readonly List<
Window
> _windows = new();
416
readonly Dictionary<string, WeakReference<
Window
>> _requestedWindows = new(StringComparer.Ordinal);
424
public IReadOnlyList<
Window
> Windows => _windows;
428
Window
? window = null;
435
if (r.TryGetTarget(out
var
w))
461
if (window is
Window
cwindow)
474
if (window is
Window
cwindow)
480
internal void RemoveWindow(
Window
window)
501
public virtual void OpenWindow(
Window
window)
504
_requestedWindows.Add(id, new WeakReference<
Window
>(window));
514
public virtual void CloseWindow(
Window
window)
519
public virtual void ActivateWindow(
Window
window)
529
protected virtual
Window
CreateWindow(IActivationState? activationState)
532
var
window = windowCreator?.CreateWindow(this, activationState);
552
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>();
248
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)
468
var
window = RealParent as
Window
;
938
/// <returns>The <see cref="
Window
"/> instance that parents the page.</returns>
939
public virtual
Window
GetParentWindow()
940
=> 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)
478
nameof(Window), typeof(
Window
), typeof(VisualElement), null, propertyChanged: OnWindowChanged);
486
public
Window
Window => (
Window
)GetValue(WindowProperty);
489
Window
IWindowController.Window
491
get => (
Window
)GetValue(WindowProperty);
2304
var
newWindow = (
Window
?)newValue;
2305
var
oldWindow = (
Window
?)oldValue;
2321
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;
407
Window
IWindowController.Window
692
readonly
Window
_owner;
694
public NavigationImpl(
Window
owner)