Search Results for

    Show / Hide Table of Contents

    Class KeyShortcut

    KeyShortcut renderable

    Inheritance
    object
    CyclicWriter
    SimpleCyclicWriter
    KeyShortcut
    Namespace: Terminaux.Writer.CyclicWriters.Simple
    Assembly: Terminaux.dll
    Syntax
    public class KeyShortcut : SimpleCyclicWriter

    Constructors

    | Edit this page View Source

    KeyShortcut()

    Makes a new instance of the key shortcut renderer

    Declaration
    public KeyShortcut()

    Properties

    | Edit this page View Source

    BackgroundColor

    Background color

    Declaration
    public Color BackgroundColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    OptionBackgroundColor

    Keybinding option key background color

    Declaration
    public Color OptionBackgroundColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    OptionColor

    Keybinding option key color

    Declaration
    public Color OptionColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    OptionForegroundColor

    Keybinding option key name color

    Declaration
    public Color OptionForegroundColor { get; set; }
    Property Value
    Type Description
    Color
    | Edit this page View Source

    Shortcut

    Key binding

    Declaration
    public Keybinding? Shortcut { get; set; }
    Property Value
    Type Description
    Keybinding
    | Edit this page View Source

    UseColors

    Whether to use colors or not

    Declaration
    public bool UseColors { get; set; }
    Property Value
    Type Description
    bool
    | Edit this page View Source

    Width

    Width of the key shortcut

    Declaration
    public int Width { get; set; }
    Property Value
    Type Description
    int
    | Edit this page View Source

    WriteLabel

    Whether to write label or not

    Declaration
    public bool WriteLabel { get; set; }
    Property Value
    Type Description
    bool

    Methods

    | Edit this page View Source

    Render()

    Renders a key shortcut

    Declaration
    public override string Render()
    Returns
    Type Description
    string

    Rendered text that will be used by the renderer

    Overrides
    CyclicWriter.Render()
    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX