TryLeaveBackground 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)
- C#
- VB
- F#
bool TryLeaveBackground()
Function TryLeaveBackground As Boolean
abstract TryLeaveBackground : unit -> bool
Return Value
Boolean
true if it was possible and the platform supports this. false otherwise
See Also
Reference
IActivatableLifetime Interface
Avalonia.Controls.ApplicationLifetimes Namespace