Table of Contents

Class MecThemeManager

Namespace
Terminal.Gui.Configuration
Assembly
Terminal.Gui.dll

Per-builder IThemeManager. Process-wide callers use the static ThemeManager facade (ThemeManager.Theme =).

public class MecThemeManager : IThemeManager
Inheritance
MecThemeManager
Implements
Inherited Members

Constructors

MecThemeManager(TuiConfigurationBuilder)

Initializes a new instance of MecThemeManager.

Properties

CurrentThemeName

Gets the name of the currently active theme.

ThemeNames

Gets the names of all available themes.

Methods

SwitchTheme(string)

Switches the active theme. This updates all ThemeScope Settings POCOs and triggers redraw on affected views.

Events

ThemeChanged

Raised after the active theme has changed. The Value is the name of the newly-active theme.