Application.

ApplicationLifetime Property

Summary

Application lifetime, use it for things like setting the main window and exiting the app from code Currently supported lifetimes are: - IClassicDesktopStyleApplicationLifetime - ISingleViewApplicationLifetime - IControlledApplicationLifetime
Namespace
Avalonia
Containing Type
Application

Syntax

public IApplicationLifetime ApplicationLifetime { get; set; }

Value

Type Description
IApplicationLifetime