Search Results for

    Show / Hide Table of Contents

    Class Colors

    The default ColorSchemes for the application.
    Inheritance
    object
    Colors
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Terminal.Gui
    Assembly: Terminal.Gui.dll
    Syntax
    public static class Colors
    Remarks
    This property can be set in a Theme to change the default Colors for the application.

    Properties

    | Edit this page View Source

    Base

    The base color scheme, for the default toplevel views.
    Declaration
    public static ColorScheme Base { get; set; }
    Property Value
    Type Description
    ColorScheme
    Remarks

    This API will be deprecated in the future. Use ColorSchemes instead (e.g. edit.ColorScheme = Colors.ColorSchemes["Base"];

    | Edit this page View Source

    ColorSchemes

    Provides the defined ColorSchemes.
    Declaration
    public static Dictionary<string, ColorScheme> ColorSchemes { get; }
    Property Value
    Type Description
    Dictionary<string, ColorScheme>
    | Edit this page View Source

    Dialog

    The dialog color scheme, for standard popup dialog boxes
    Declaration
    public static ColorScheme Dialog { get; set; }
    Property Value
    Type Description
    ColorScheme
    Remarks

    This API will be deprecated in the future. Use ColorSchemes instead (e.g. edit.ColorScheme = Colors.ColorSchemes["Dialog"];

    | Edit this page View Source

    Error

    The color scheme for showing errors.
    Declaration
    public static ColorScheme Error { get; set; }
    Property Value
    Type Description
    ColorScheme
    Remarks

    This API will be deprecated in the future. Use ColorSchemes instead (e.g. edit.ColorScheme = Colors.ColorSchemes["Error"];

    | Edit this page View Source

    Menu

    The menu bar color
    Declaration
    public static ColorScheme Menu { get; set; }
    Property Value
    Type Description
    ColorScheme
    Remarks

    This API will be deprecated in the future. Use ColorSchemes instead (e.g. edit.ColorScheme = Colors.ColorSchemes["Menu"];

    | Edit this page View Source

    TopLevel

    The application toplevel color scheme, for the default toplevel views.
    Declaration
    public static ColorScheme TopLevel { get; set; }
    Property Value
    Type Description
    ColorScheme
    Remarks

    This API will be deprecated in the future. Use ColorSchemes instead (e.g. edit.ColorScheme = Colors.ColorSchemes["TopLevel"];

    Methods

    | Edit this page View Source

    Create()

    Creates a new dictionary of new ColorScheme objects.
    Declaration
    public static Dictionary<string, ColorScheme> Create()
    Returns
    Type Description
    Dictionary<string, ColorScheme>
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX