Skip to main content

IControlledApplicationLifetime Interface

Not client implementable.

Note: This interface is not client implementable. You need to enable PrivateApi if you want to implement this interface.

Definition

Namespace: Avalonia.Controls.ApplicationLifetimes
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)

[NotClientImplementableAttribute]
public interface IControlledApplicationLifetime : IApplicationLifetime
View Source
ImplementsIApplicationLifetime

Methods

Shutdown(Int32)Shuts down the application and sets the exit code that is returned to the operating system when the application exits.

Events

ExitSent when the application is exiting.
StartupSent when the application is starting up.

See Also

Reference

Avalonia.Controls.ApplicationLifetimes Namespace