.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. Microsoft.Maui.Controls
  3. Application
  4. On<T>()
  • Application
    • ControlsApplicationMapper
    • Application()
    • AccentColor
    • AppLinks
    • Current
    • MainPage
    • NavigationProxy
    • PlatformAppTheme
    • Properties
    • RequestedTheme
    • Resources
    • UserAppTheme
    • Windows
    • CleanUp()
    • CloseWindow(Window)
    • CreateWindow(IActivationState)
    • On<T>()
    • OnAppLinkRequestReceived(Uri)
    • OnParentSet()
    • OnResume()
    • OnSleep()
    • OnStart()
    • OpenWindow(Window)
    • Quit()
    • SavePropertiesAsync()
    • SendOnAppLinkRequestReceived(Uri)
    • SetAppIndexingProvider(IAppIndexingProvider)
    • SetCurrentApplication(Application)
    • ModalPopped
    • ModalPopping
    • ModalPushed
    • ModalPushing
    • PageAppearing
    • PageDisappearing
    • RequestedThemeChanged
net7.0
namespace Microsoft.Maui.Controls
{
    public class Application : Element, IApplicationController, IElementConfiguration<Application!>, IApplication, IElement, IVisualTreeElement
    {
        public IPlatformElementConfiguration<T, Application!>! On<T>()
            where T, IConfigPlatform!;
    }
}
.NET 6.07.0
Information specific to net7.0
Assembly

Microsoft.Maui.Controls , Version=1.0.0.0, PublicKeyToken=

Referencing

Requires all:

  • You need to have the workload maui installed.

  • Your project needs to set <UseMaui>True</UseMaui>.

Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

03/18/2025
An error has occurred. This application may no longer respond until reloaded. Reload 🗙