Search Results for

    Show / Hide Table of Contents

    Class InfoBoxButtonsColor

    Info box writer with buttons and color support

    Inheritance
    object
    InfoBoxButtonsColor
    Namespace: Terminaux.Inputs.Styles.Infobox
    Assembly: Terminaux.dll
    Syntax
    public static class InfoBoxButtonsColor

    Methods

    | Edit this page View Source

    WriteInfoBoxButtons(InputChoiceInfo[], string, params object[])

    Writes the button info box

    Declaration
    public static int WriteInfoBoxButtons(InputChoiceInfo[] buttons, string text, params object[] vars)
    Parameters
    Type Name Description
    InputChoiceInfo[] buttons

    Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections.

    string text

    Text to be written.

    object[] vars

    Variables to format the message before it's written.

    Returns
    Type Description
    int

    Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred

    | Edit this page View Source

    WriteInfoBoxButtons(InputChoiceInfo[], string, InfoBoxSettings, params object[])

    Writes the button info box

    Declaration
    public static int WriteInfoBoxButtons(InputChoiceInfo[] buttons, string text, InfoBoxSettings settings, params object[] vars)
    Parameters
    Type Name Description
    InputChoiceInfo[] buttons

    Button names to define. This must be from 1 to 3 buttons. Any more of them and you'll have to use the InfoBoxSelectionColor to get an option to use more buttons as choice selections.

    string text

    Text to be written.

    InfoBoxSettings settings

    Infobox settings to use

    object[] vars

    Variables to format the message before it's written.

    Returns
    Type Description
    int

    Selected choice index (starting from zero), or -1 if exited, selection list is empty, or an error occurred

    • Edit this page
    • View Source
    In this article
    Back to top Generated by DocFX