Search Results for

    Show / Hide Table of Contents

    Class ColorScheme

    Defines the color Attributes for common visible elements in a View. Containers such as Window and FrameView use ColorScheme to determine the colors used by sub-views.
    Inheritance
    object
    ColorScheme
    Implements
    IEquatable<ColorScheme>
    Inherited Members
    object.Equals(object, object)
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Terminal.Gui
    Assembly: Terminal.Gui.dll
    Syntax
    public class ColorScheme : IEquatable<ColorScheme>
    Remarks
    See also: ColorSchemes.

    Properties

    | Edit this page View Source

    Disabled

    The default foreground and background color for text, when the view is disabled.
    Declaration
    public Attribute Disabled { get; set; }
    Property Value
    Type Description
    Attribute
    | Edit this page View Source

    Focus

    The foreground and background color for text when the view has the focus.
    Declaration
    public Attribute Focus { get; set; }
    Property Value
    Type Description
    Attribute
    | Edit this page View Source

    HotFocus

    The foreground and background color for text when the view is highlighted (hot) and has focus.
    Declaration
    public Attribute HotFocus { get; set; }
    Property Value
    Type Description
    Attribute
    | Edit this page View Source

    HotNormal

    The foreground and background color for text when the view is highlighted (hot).
    Declaration
    public Attribute HotNormal { get; set; }
    Property Value
    Type Description
    Attribute
    | Edit this page View Source

    Normal

    The foreground and background color for text when the view is not focused, hot, or disabled.
    Declaration
    public Attribute Normal { get; set; }
    Property Value
    Type Description
    Attribute

    Methods

    | Edit this page View Source

    Equals(object)

    Compares two ColorScheme objects for equality.
    Declaration
    public override bool Equals(object obj)
    Parameters
    Type Name Description
    object obj
    Returns
    Type Description
    bool true if the two objects are equal
    Overrides
    object.Equals(object)
    | Edit this page View Source

    Equals(ColorScheme)

    Compares two ColorScheme objects for equality.
    Declaration
    public bool Equals(ColorScheme other)
    Parameters
    Type Name Description
    ColorScheme other
    Returns
    Type Description
    bool true if the two objects are equal
    | Edit this page View Source

    GetHashCode()

    Returns a hashcode for this instance.
    Declaration
    public override int GetHashCode()
    Returns
    Type Description
    int hashcode for this instance
    Overrides
    object.GetHashCode()

    Operators

    | Edit this page View Source

    operator ==(ColorScheme, ColorScheme)

    Compares two ColorScheme objects for equality.
    Declaration
    public static bool operator ==(ColorScheme left, ColorScheme right)
    Parameters
    Type Name Description
    ColorScheme left
    ColorScheme right
    Returns
    Type Description
    bool true if the two objects are equivalent
    | Edit this page View Source

    operator !=(ColorScheme, ColorScheme)

    Compares two ColorScheme objects for inequality.
    Declaration
    public static bool operator !=(ColorScheme left, ColorScheme right)
    Parameters
    Type Name Description
    ColorScheme left
    ColorScheme right
    Returns
    Type Description
    bool true if the two objects are not equivalent

    Implements

    IEquatable<T>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX