IApplicationLifecycle Interface

Summary

Sends events about the application lifecycle.
Namespace
Avalonia.Controls
Implementing Types
graph TD Type["IApplicationLifecycle"] class Type type-node Type-.->Implementing0["SimpleApp"] click Implementing0 "/api/Avalonia.iOSTestApplication/SimpleApp" Type-.->Implementing1["Application"] click Implementing1 "/api/Avalonia/Application" Type-.->Implementing2["App"] click Implementing2 "/api/Avalonia.AndroidTestApplication/App"

Syntax

public interface IApplicationLifecycle

Events

Name Type Summary
OnExit EventHandler
Sent when the application is exiting.

Methods

Name Value Summary
Exit() void
Exits the application.