Table of Contents

Enum MswUtils.NativeMethods.AppThemeMode

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

Specifies the application theme mode, allowing control over light and dark themes.

public enum MswUtils.NativeMethods.AppThemeMode

Fields

AllowDark = 1

The application will follow the system theme setting, adapting to light or dark mode as per the user's system preferences.

Default = 0

The application will use the system's default theme setting,

ForceDark = 2

The application will always use a dark theme, regardless of the system settings.

ForceLight = 3

Forces the light to turn on regardless of other conditions or settings.

Max = 4

Gets the maximum value.

Remarks

This enumeration provides options for configuring the application's theme behavior, including default system settings, forcing specific themes, or allowing user preferences.