Table of Contents

Method SwitchTheme

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

SwitchTheme(string)

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

bool SwitchTheme(string themeName)

Parameters

themeName string

The name of the theme to activate.

Returns

bool

true if the theme was found and activated; otherwise false.