IActivatableLifetimeTryLeaveBackground Method

Tells the application that it should attempt to leave its background state. For example on OSX this would be [NSApp unhide]

Definition

Namespace: Avalonia.Controls.ApplicationLifetimes
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
C#
bool TryLeaveBackground()

Return Value

Boolean
true if it was possible and the platform supports this. false otherwise

See Also