net9.0
namespace Microsoft.Maui.Controls
{
public class Application : Element, IApplicationController, IElementConfiguration<Application!>, IApplication, IElement, IVisualTreeElement
{
public Page? MainPage
{
[Obsolete("This property has been deprecated. For single-window applications, use Windows[0].Page. For multi-window applications, identify and use the appropriate Window object to access the desired Page. Additionally, each element features a Window property, accessible when it's part of the current window.")]
get;
[Obsolete("This property is deprecated. Initialize your application by overriding Application.CreateWindow rather than setting MainPage. To modify the root page in an active application, use Windows[0].Page for applications with a single window. For applications with multiple windows, use Application.Windows to identify and update the root page on the correct window. Additionally, each element features a Window property, accessible when it's part of the current window.")]
set;
}
}
}
nuget.org | 0.0 %
Reference this API 0.0 %
Get property 0.0 %
Set property |
---|---|
Upgrade Planner | 0.0 %
Reference this API 0.0 %
Get property |
.NET | 5.06.07.08.09.0 |
.NET Core | 2.02.12.23.03.1 |
.NET Framework | 4.6.14.6.24.74.7.14.7.24.84.8.1 |
.NET Standard | 2.02.1 |
Information specific to net9.0 | |
Assemblies | Microsoft.Maui.Controls , Version=1.0.0.0, PublicKeyToken= Microsoft.Maui.Controls , Version=1.0.0.0, PublicKeyToken= |
Referencing | Your project needs a package reference to |
Package | Microsoft.Maui.Controls.Core net9.0 |
Platform Restrictions | The property getter is supported on all platforms. The property setter is supported on all platforms. |