HtmlForgeX

API Reference

Enum

ThemeMode

Namespace HtmlForgeX
Assembly HtmlForgeX
Base Enum
Implements
IComparable ISpanFormattable IFormattable IConvertible
Modifiers sealed

Theme mode selection.

Inheritance

  • Enum
  • ThemeMode

Usage

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Accepted by parameters

Values

public const ThemeMode System #

Follow the operating system preference.

Value: 0
public const ThemeMode Light #

Always use a light theme.

Value: 1
public const ThemeMode Dark #

Always use a dark theme.

Value: 2