Class SchemeManager
- Namespace
- Terminal.Gui.Configuration
- Assembly
- Terminal.Gui.dll
Holds the Schemes that define the Attributes views use to render. A Scheme maps VisualRoles to Attributes.
public sealed class SchemeManager : ISchemeManager
- Inheritance
-
SchemeManager
- Implements
- Inherited Members
Constructors
Properties
- Schemes
Gets the dictionary of defined schemes for the current theme.
Methods
- AddScheme(string, Scheme)
Adds a new Scheme. If the name already exists, it is updated. Schemes added or updated here survive theme switches and configuration re-application.
- GetScheme(string)
Gets the Scheme for the specified name.
- GetSchemeNames()
Gets the names of the schemes in the current theme.
- GetSchemesForCurrentTheme()
Gets the dictionary of schemes for the active theme.
- RemoveScheme(string)
Removes a previously added (non-built-in) scheme.
- SchemeNameToSchemes(string)
Converts a string to a built-in scheme name, or null.
- SchemesToSchemeName(Schemes)
Gets the name of a built-in Schemes value.
- TryGetScheme(string, out Scheme?)
Attempts to get a scheme without throwing.