docfx/apispec/namespace-configuration.md
The Configuration namespace provides comprehensive configuration management for Terminal.Gui applications.
| Scope | Purpose |
|---|---|
| Settings | Runtime behavior settings |
| Themes | Visual styling and color schemes |
| AppSettings | Application-specific settings |
Configuration is loaded from multiple locations in priority order:
appSettings.json)~/.tui/)// Enable configuration from all sources
ConfigurationManager.Enable (ConfigLocations.All);
// Access theme
ThemeManager.Theme = "Dark";
// Mark a property as configurable
[ConfigurationProperty (Scope = typeof (SettingsScope))]
public static bool MyFeature { get; set; } = true;