Skip to main content

ActivationKind Enum

Definition

Assembly:Avalonia.Controls
Package:Avalonia
public enum ActivationKind

Inheritance: Enum -> ActivationKind

Fields

NameDescription
BackgroundWhen 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.
FileWhen the application is passed a file to open.
OpenUriWhen the application is passed a URI to open, protocol activation.
ReopenWhen 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