Search Results for

    Show / Hide Table of Contents

    Class PassiveSelection

    Passive selection cyclic renderer

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

    Constructors

    | Edit this page View Source

    PassiveSelection()

    Makes a new selection instance

    Declaration
    public PassiveSelection()
    | Edit this page View Source

    PassiveSelection(InputChoiceCategoryInfo[])

    Makes a new selection instance

    Declaration
    public PassiveSelection(InputChoiceCategoryInfo[] categories)
    Parameters
    Type Name Description
    InputChoiceCategoryInfo[] categories

    Categories

    | Edit this page View Source

    PassiveSelection(InputChoiceGroupInfo[])

    Makes a new selection instance

    Declaration
    public PassiveSelection(InputChoiceGroupInfo[] groups)
    Parameters
    Type Name Description
    InputChoiceGroupInfo[] groups

    Groups

    | Edit this page View Source

    PassiveSelection(InputChoiceInfo[])

    Makes a new selection instance

    Declaration
    public PassiveSelection(InputChoiceInfo[] choices)
    Parameters
    Type Name Description
    InputChoiceInfo[] choices

    Choices

    Properties

    | Edit this page View Source

    AltBackgroundColor

    Alternative option background color

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

    AltChoicePos

    Alternative choice position (one-based)

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

    AltForegroundColor

    Alternative option foreground color

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

    BackgroundColor

    Option background color

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

    DisabledBackgroundColor

    Disabled option background color

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

    DisabledForegroundColor

    Disabled option foreground color

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

    ForegroundColor

    Option foreground color

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

    Selections

    List of selection categories

    Declaration
    public InputChoiceCategoryInfo[] Selections { get; set; }
    Property Value
    Type Description
    InputChoiceCategoryInfo[]
    | Edit this page View Source

    Settings

    Selection style settings

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

    UseColors

    Whether to use colors or not

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

    Methods

    | Edit this page View Source

    Render()

    Renders a selection

    Declaration
    public override string Render()
    Returns
    Type Description
    string

    A string representation of the selection

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