- Namespace
- Avalonia
.Controls . Application Lifetimes - Interfaces
- Implementing Types
graph BT
Type-.->Interface0["IApplicationLifetime"]
click Interface0 "/api/Avalonia.Controls.ApplicationLifetimes/IApplicationLifetime"
Type["IControlledApplicationLifetime"]
class Type type-node
Implementing0["IClassicDesktopStyleApplicationLifetime"]-.->Type
click Implementing0 "/api/Avalonia.Controls.ApplicationLifetimes/IClassicDesktopStyleApplicationLifetime"
Implementing1["ClassicDesktopStyleApplicationLifetime"]-.->Type
click Implementing1 "/api/Avalonia.Controls.ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime"
Syntax
public interface IControlledApplicationLifetime : IApplicationLifetime
Events
Name | Type | Summary |
---|---|---|
Exit | EventHandler |
Sent when the application is exiting.
|
Startup | EventHandler |
Sent when the application is starting up.
|
Methods
Name | Value | Summary |
---|---|---|
Shutdown |
void |
Shuts down the application and sets the exit code that is returned to the operating system when the application exits.
|