ClassicDesktopStyleApplicationLifetime Class

graph BT Type-->Base0["object"] Type-.->Interface0["IClassicDesktopStyleApplicationLifetime"] click Interface0 "/api/Avalonia.Controls.ApplicationLifetimes/IClassicDesktopStyleApplicationLifetime" Type-.->Interface1["IControlledApplicationLifetime"] click Interface1 "/api/Avalonia.Controls.ApplicationLifetimes/IControlledApplicationLifetime" Type-.->Interface2["IApplicationLifetime"] click Interface2 "/api/Avalonia.Controls.ApplicationLifetimes/IApplicationLifetime" Type-.->Interface3["IDisposable"] Type["ClassicDesktopStyleApplicationLifetime"] class Type type-node

Syntax

public class ClassicDesktopStyleApplicationLifetime : IClassicDesktopStyleApplicationLifetime, 
    IControlledApplicationLifetime, IApplicationLifetime, IDisposable

Constructors

Events

Name Type Summary
Exit EventHandler<ControlledApplicationLifetimeExitEventArgs>
Sent when the application is exiting.
Startup EventHandler<ControlledApplicationLifetimeStartupEventArgs>
Sent when the application is starting up.

Properties

Name Value Summary
Args string[]
Gets the arguments passed to the AppBuilder Start method.
MainWindow Window
Gets or sets the main window of the application.
ShutdownMode ShutdownMode
Gets or sets the ShutdownMode. This property indicates whether the application is shutdown explicitly or implicitly. If ShutdownMode is set to OnExplicitShutdown the application is only closes if Shutdown is called. The default is OnLastWindowClose
Windows IReadOnlyList<Window>

Methods

Name Value Summary
Dispose() void
Shutdown(int) void
Start(string[]) int