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)
173
var orientation =
Window
.GetOrientation();
336
if (
Window
is null)
NavigationPage\NavigationPage.cs (5)
522
if (this.
Window
is null)
525
var rootPage = this.FindParentWith(x => (x is IWindow te ||
Window
.Navigation.ModalStack.Contains(x)), true);
542
if (this.
Window
is null)
588
if (
Window
.Page == topLevelPage)
590
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)
482
nameof(
Window
), typeof(Window), typeof(VisualElement), null, propertyChanged: OnWindowChanged);
484
/// <summary>Bindable property for <see cref="
Window
"/>.</summary>
488
/// Gets the <see cref="
Window
"/> that is associated with an element. This is a read-only bindable property.
1820
UpdatePlatformUnloadedLoadedWiring(
Window
);
2195
bool isLoaded =
Window
!= null;
2213
UpdatePlatformUnloadedLoadedWiring(
Window
);
2228
UpdatePlatformUnloadedLoadedWiring(
Window
);
2240
UpdatePlatformUnloadedLoadedWiring(
Window
);
2245
UpdatePlatformUnloadedLoadedWiring(
Window
);
2277
UpdatePlatformUnloadedLoadedWiring(
Window
);
2293
UpdatePlatformUnloadedLoadedWiring(
Window
);
2311
UpdatePlatformUnloadedLoadedWiring(
Window
);