Skip to main content

IActivatableApplicationLifetime Methods

Methods

TryEnterBackground()Tells the application that it should attempt to enter its background state. For example on OSX this would be [NSApp hide]
(Inherited from IActivatableLifetime)
TryLeaveBackground()Tells the application that it should attempt to leave its background state. For example on OSX this would be [NSApp unhide]
(Inherited from IActivatableLifetime)

See Also

Reference

IActivatableApplicationLifetime Interface
Avalonia.Controls.ApplicationLifetimes Namespace