1 write to MainPage
Microsoft.Maui.Controls.Compatibility (1)
iOS\PageExtensions.cs (1)
19
app.
MainPage
= page;
10 references to MainPage
Microsoft.Maui.Controls (6)
Application\Application.cs (6)
103
if (
MainPage
== value)
108
if (
MainPage
is not null)
110
((IElementDefinition)this).RemoveResourcesChangedListener(
MainPage
.OnParentResourcesChanged);
450
throw new InvalidOperationException($"Both {nameof(
MainPage
)} was set and {nameof(Application.CreateWindow)} was overridden to provide a page.");
539
throw new NotImplementedException($"Either set {nameof(
MainPage
)} or override {nameof(Application.CreateWindow)}.");
549
throw new NotImplementedException($"Either set {nameof(
MainPage
)} or override {nameof(Application.CreateWindow)}.");
Microsoft.Maui.Controls.Compatibility (4)
iOS\FormsApplicationDelegate.cs (4)
147
if (args.PropertyName == nameof(_application.
MainPage
))
188
if (_application.
MainPage
== null)
197
if (_application.
MainPage
== null)
204
Window.RootViewController = _application.
MainPage
.CreateViewController();