Class ButtonSettings
- Namespace
- Terminal.Gui.Configuration
- Assembly
- Terminal.Gui.dll
Immutable settings record for Button visual defaults (ThemeScope).
public sealed record ButtonSettings : IEquatable<ButtonSettings>
- Inheritance
-
ButtonSettings
- Implements
- Inherited Members
Remarks
Default is the compile-time-known fallback (constructor defaults).
Current holds the currently effective values and is updated atomically by
MecThemeManager via Volatile.Write at startup and on theme switch. Mid-render
consumers always observe either the previous or the next reference — never a partially populated one.
Constructors
Properties
- Current
The currently effective values, updated atomically by MecThemeManager.
- Default
The compile-time-known defaults.
- DefaultMouseHighlightStates
Gets the default mouse highlight states for buttons.
- DefaultShadow
Gets the default shadow style for buttons.