ApplicationLifetime Property
Application lifetime, use it for things like setting the main window and exiting the app from code Currently supported lifetimes are: - IClassicDesktopStyleApplicationLifetime - ISingleViewApplicationLifetime - IControlledApplicationLifetime - IActivatableApplicationLifetime
Definition
Namespace: Avalonia
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public IApplicationLifetime? ApplicationLifetime { get; set; }
Public Property ApplicationLifetime As IApplicationLifetime
Get
Set
member ApplicationLifetime : IApplicationLifetime with get, set