ActivationKind Enum
Definition
public enum ActivationKind
Fields
| Name | Description |
|---|---|
| Background | 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. |
| File | When the application is passed a file to open. |
| OpenUri | When the application is passed a URI to open, protocol activation. |
| Reopen | 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 Field
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.
public Avalonia.Controls.ApplicationLifetimes.ActivationKind Background
File Field
When the application is passed a file to open.
public Avalonia.Controls.ApplicationLifetimes.ActivationKind File
OpenUri Field
When the application is passed a URI to open, protocol activation.
public Avalonia.Controls.ApplicationLifetimes.ActivationKind OpenUri
Reopen Field
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.
public Avalonia.Controls.ApplicationLifetimes.ActivationKind Reopen