Skip to content
ChartForgeX
Enum

ThemeMode

ChartForgeX

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

Whether output follows the host's light or dark preference or uses one of them explicitly.

Inheritance

  • Enum
  • ThemeMode

Remarks

ThemeMode.Auto resolves at the host: the browser's preferred colour scheme for HTML output, the terminal profile in a console, and ThemeMode.Light for static images.

Usage

Explore 105 API references to this type

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

Accepted by parameters 82

Values

public const ThemeMode Auto #

Follows the host's preference.

Value: 0
public const ThemeMode Light #

Light surfaces with dark text.

Value: 1
public const ThemeMode Dark #

Dark surfaces with light text.

Value: 2