Search Results for

    Show / Hide Table of Contents

    Class InfoBoxSelectionColor

    Info box writer with selection and color support

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

    Methods

    | Edit this page View Source

    WriteInfoBoxSelection(int, int, InputChoiceCategoryInfo[], string, params object[])

    Writes the single-choice selection info box

    Declaration
    public static int WriteInfoBoxSelection(int currentSelection, int currentSelected, InputChoiceCategoryInfo[] selections, string text, params object[] vars)
    Parameters
    Type Name Description
    int currentSelection

    Current selection (the choice that will be highlighted)

    int currentSelected

    Current selected choice (for radio buttons)

    InputChoiceCategoryInfo[] selections

    List of choices

    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

    WriteInfoBoxSelection(int, int, InputChoiceCategoryInfo[], string, InfoBoxSettings, params object[])

    Writes the single-choice selection info box

    Declaration
    public static int WriteInfoBoxSelection(int currentSelection, int currentSelected, InputChoiceCategoryInfo[] selections, string text, InfoBoxSettings settings, params object[] vars)
    Parameters
    Type Name Description
    int currentSelection

    Current selection (the choice that will be highlighted)

    int currentSelected

    Current selected choice (for radio buttons)

    InputChoiceCategoryInfo[] selections

    List of choices

    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

    WriteInfoBoxSelection(int, int, InputChoiceInfo[], string, params object[])

    Writes the single-choice selection info box

    Declaration
    public static int WriteInfoBoxSelection(int currentSelection, int currentSelected, InputChoiceInfo[] selections, string text, params object[] vars)
    Parameters
    Type Name Description
    int currentSelection

    Current selection (the choice that will be highlighted)

    int currentSelected

    Current selected choice (for radio buttons)

    InputChoiceInfo[] selections

    List of choices

    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

    WriteInfoBoxSelection(int, int, InputChoiceInfo[], string, InfoBoxSettings, params object[])

    Writes the single-choice selection info box

    Declaration
    public static int WriteInfoBoxSelection(int currentSelection, int currentSelected, InputChoiceInfo[] selections, string text, InfoBoxSettings settings, params object[] vars)
    Parameters
    Type Name Description
    int currentSelection

    Current selection (the choice that will be highlighted)

    int currentSelected

    Current selected choice (for radio buttons)

    InputChoiceInfo[] selections

    List of choices

    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

    WriteInfoBoxSelection(InputChoiceCategoryInfo[], string, params object[])

    Writes the single-choice selection info box

    Declaration
    public static int WriteInfoBoxSelection(InputChoiceCategoryInfo[] selections, string text, params object[] vars)
    Parameters
    Type Name Description
    InputChoiceCategoryInfo[] selections

    List of choices

    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

    WriteInfoBoxSelection(InputChoiceCategoryInfo[], string, InfoBoxSettings, params object[])

    Writes the single-choice selection info box

    Declaration
    public static int WriteInfoBoxSelection(InputChoiceCategoryInfo[] selections, string text, InfoBoxSettings settings, params object[] vars)
    Parameters
    Type Name Description
    InputChoiceCategoryInfo[] selections

    List of choices

    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

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

    Writes the single-choice selection info box

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

    List of choices

    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

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

    Writes the single-choice selection info box

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

    List of choices

    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