IActivatableLifetimeTryEnterBackground Method

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

Definition

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

Return Value

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

See Also