Implemented interface member:
property
Window
Microsoft.Maui.Controls.IControlsVisualElement.Window
33 references to Window
Microsoft.Maui.Controls (33)
AdaptiveTrigger.cs (1)
66
_window = _visualElement?.
Window
;
AppThemeBinding.cs (1)
158
ve?.
Window
?.Parent is Application a)
Border\Border.cs (1)
70
if (e.PropertyName != nameof(
Window
) &&
FlyoutPage\FlyoutPage.cs (2)
170
var orientation =
Window
.GetOrientation();
333
if (
Window
is null)
NavigationPage\NavigationPage.cs (5)
525
if (this.
Window
is null)
528
var rootPage = this.FindParentWith(x => (x is IWindow te ||
Window
.Navigation.ModalStack.Contains(x)), true);
545
if (this.
Window
is null)
591
if (
Window
.Page == topLevelPage)
593
toolbarRoot =
Window
;
Shell\ShellNavigationManager.cs (2)
219
if (_shell.
Window
== null || _shell.CurrentPage == null)
236
if (_shell.
Window
!= null &&
TitleBar\TitleBar.cs (9)
265
if (
Window
is not null)
267
Window
.Activated -= Window_Activated;
268
Window
.Deactivated -= Window_Deactivated;
274
if (e.PropertyName == nameof(
Window
) &&
Window
is not null)
276
Window
.Activated -= Window_Activated;
277
Window
.Deactivated -= Window_Deactivated;
279
Window
.Activated += Window_Activated;
280
Window
.Deactivated += Window_Deactivated;
VisualElement\VisualElement.cs (12)
481
nameof(
Window
), typeof(Window), typeof(VisualElement), null, propertyChanged: OnWindowChanged);
483
/// <summary>Bindable property for <see cref="
Window
"/>.</summary>
487
/// Gets the <see cref="
Window
"/> that is associated with an element. This is a read-only bindable property.
1813
UpdatePlatformUnloadedLoadedWiring(
Window
);
2187
bool isLoaded =
Window
!= null;
2205
UpdatePlatformUnloadedLoadedWiring(
Window
);
2220
UpdatePlatformUnloadedLoadedWiring(
Window
);
2232
UpdatePlatformUnloadedLoadedWiring(
Window
);
2237
UpdatePlatformUnloadedLoadedWiring(
Window
);
2269
UpdatePlatformUnloadedLoadedWiring(
Window
);
2285
UpdatePlatformUnloadedLoadedWiring(
Window
);
2303
UpdatePlatformUnloadedLoadedWiring(
Window
);