Interface IThemeManager
- Namespace
- Terminal.Gui.Configuration
- Assembly
- Terminal.Gui.dll
Abstracts theme management. Allows switching themes and querying available themes.
public interface IThemeManager
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.