IActivatableLifetime Interface
An interface for ApplicationLifetimes where the application can be Activated and Deactivated.
Namespace: Avalonia.Controls.ApplicationLifetimesAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
[NotClientImplementableAttribute]
public interface IActivatableLifetime
<NotClientImplementableAttribute>
Public Interface IActivatableLifetime
[<NotClientImplementableAttribute>]
type IActivatableLifetime = interface end
| TryEnterBackground |
Tells the application that it should attempt to enter its background state.
For example on OSX this would be [NSApp hide]
|
| TryLeaveBackground |
Tells the application that it should attempt to leave its background state.
For example on OSX this would be [NSApp unhide]
|
| Activated |
An event that is raised when the application is Activated for various reasons
as described by the ActivationKind enumeration.
|
| Deactivated |
An event that is raised when the application is Deactivated for various reasons
as described by the ActivationKind enumeration.
|