ActivationKind Enumeration
Definition
Namespace: Avalonia.Controls.ApplicationLifetimes
Assembly: Avalonia.Controls (in Avalonia.Controls.dll)
- C#
- VB
- F#
public enum ActivationKind
Public Enumeration ActivationKind
type ActivationKind
Members
File | 10 | When the application is passed a file to open. |
OpenUri | 20 | When the application is passed a URI to open, protocol activation. |
Reopen | 30 | When the application is asked to reopen. An example of this is on MacOS when all the windows are closed, application continues to run in the background and the user clicks the application's dock icon. |
Background | 40 | When the application enters or leaves a background state. An example is when on MacOS the user hides or shows and application (not window), or when a browser application switchs tabs or when a mobile applications goes into the background. |