Enum MswUtils.NativeMethods.AppThemeMode
Specifies the application theme mode, allowing control over light and dark themes.
public enum MswUtils.NativeMethods.AppThemeMode
Fields
AllowDark = 1The application will follow the system theme setting, adapting to light or dark mode as per the user's system preferences.
Default = 0The application will use the system's default theme setting,
ForceDark = 2The application will always use a dark theme, regardless of the system settings.
ForceLight = 3Forces the light to turn on regardless of other conditions or settings.
Max = 4Gets 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.