Table of Contents

Property IsAvailable

Namespace
Alternet.UI
Assembly
Alternet.UI.Common.dll

IsAvailable

Gets whether system tray is available in the desktop environment the app runs under.

public static bool IsAvailable { get; }

Property Value

bool

Remarks

On Windows and macOS, the tray is always available and this function simply returns true. On Linux environment may or may not provide the tray, depending on user's desktop environment. Tray availability may change during application's lifetime under Linux and so applications shouldn't cache the result.