Table of Contents

Property Themes

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

Themes

Gets the Themes dictionary. GetThemes() is preferred. The backing store is Settings ["Themes"]. However, if Terminal.Gui.Configuration.ConfigurationManager.IsInitialized() is false, this property will return the hard-coded themes.

[JsonConverter(typeof(ConcurrentDictionaryJsonConverter<ThemeScope>))]
public static ConcurrentDictionary<string, ThemeScope>? Themes { get; }

Property Value

ConcurrentDictionary<string, ThemeScope>

Exceptions

InvalidOperationException