Class ColorScheme | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Defines a standard set of Attributes for common visible elements in a View.
[JsonConverter(typeof(ColorSchemeJsonConverter))]
public record ColorScheme : IEqualityOperators<ColorScheme, ColorScheme, bool>, IEquatable<ColorScheme>
Inheritance
ColorScheme
Implements
Inherited Members
Constructors
Creates a new instance set to the default colors (see Default).
Creates a new instance, initialized with the values from attribute
.
ColorScheme(Attribute, Attribute, Attribute, Attribute, Attribute)
Creates a new instance, initialized with the values provided.
Creates a new instance, initialized with the values from scheme
.
Properties
The default foreground and background color for text when the view is disabled.
The foreground and background color for text when the view has the focus.
The foreground and background color for text in a focused view that indicates a HotKey.
The foreground and background color for text in a non-focused view that indicates a HotKey.
The foreground and background color for text when the view is not focused, hot, or disabled.
Methods
Compares two ColorScheme objects for equality.
Returns a hashcode for this instance.
Gets a new ColorScheme with the same values as this instance, but with the foreground and background colors adjusted to be more visible.
Returns a string that represents the current object.