Search Results for

    Class SelectionStyle

    Selection style for input module

    Inheritance
    object
    SelectionStyle
    Namespace
    Terminaux.Inputs.Styles.Selection @ Terminaux.dll
    Syntax
    public static class SelectionStyle


    Methods

    PromptSelection(string, (string, string)[], bool, int?, int?)

    Prompts user for selection

    Returns
    int

    A zero-based selection choice number, or -1 if the user has cancelled the input

    Declaration
    public static int PromptSelection(string Question, (string, string)[] Answers, bool kiosk = false, int? currentSelection = null, int? currentSelected = null)
    Parameters
    Name Type Description
    Question string

    A question

    Answers (string, string)[]

    Set of answers.

    kiosk bool

    Whether to prevent exiting or not

    currentSelection int?

    Current selection (the choice that will be highlighted)

    currentSelected int?

    Current selected choice (for radio buttons)

    PromptSelection(string, (string, string)[], (string, string)[], bool, int?, int?)

    Prompts user for selection

    Returns
    int

    A zero-based selection choice number, or -1 if the user has cancelled the input

    Declaration
    public static int PromptSelection(string Question, (string, string)[] Answers, (string, string)[] AlternateAnswers, bool kiosk = false, int? currentSelection = null, int? currentSelected = null)
    Parameters
    Name Type Description
    Question string

    A question

    Answers (string, string)[]

    Set of answers.

    AlternateAnswers (string, string)[]

    Set of alternate answers.

    kiosk bool

    Whether to prevent exiting or not

    currentSelection int?

    Current selection (the choice that will be highlighted)

    currentSelected int?

    Current selected choice (for radio buttons)

    PromptSelection(string, (string, string)[], (string, string)[], SelectionStyleSettings, bool, int?, int?)

    Prompts user for selection

    Returns
    int

    A zero-based selection choice number, or -1 if the user has cancelled the input

    Declaration
    public static int PromptSelection(string Question, (string, string)[] Answers, (string, string)[] AlternateAnswers, SelectionStyleSettings settings, bool kiosk = false, int? currentSelection = null, int? currentSelected = null)
    Parameters
    Name Type Description
    Question string

    A question

    Answers (string, string)[]

    Set of answers.

    AlternateAnswers (string, string)[]

    Set of alternate answers.

    settings SelectionStyleSettings

    Selection settings

    kiosk bool

    Whether to prevent exiting or not

    currentSelection int?

    Current selection (the choice that will be highlighted)

    currentSelected int?

    Current selected choice (for radio buttons)

    PromptSelection(string, (string, string)[], SelectionStyleSettings, bool, int?, int?)

    Prompts user for selection

    Returns
    int

    A zero-based selection choice number, or -1 if the user has cancelled the input

    Declaration
    public static int PromptSelection(string Question, (string, string)[] Answers, SelectionStyleSettings settings, bool kiosk = false, int? currentSelection = null, int? currentSelected = null)
    Parameters
    Name Type Description
    Question string

    A question

    Answers (string, string)[]

    Set of answers.

    settings SelectionStyleSettings

    Selection settings

    kiosk bool

    Whether to prevent exiting or not

    currentSelection int?

    Current selection (the choice that will be highlighted)

    currentSelected int?

    Current selected choice (for radio buttons)

    PromptSelection(string, InputChoiceCategoryInfo[], bool, int?, int?)

    Prompts user for selection

    Returns
    int

    A zero-based selection choice number, or -1 if the user has cancelled the input

    Declaration
    public static int PromptSelection(string Question, InputChoiceCategoryInfo[] Answers, bool kiosk = false, int? currentSelection = null, int? currentSelected = null)
    Parameters
    Name Type Description
    Question string

    A question

    Answers InputChoiceCategoryInfo[]

    Set of answer categories.

    kiosk bool

    Whether to prevent exiting or not

    currentSelection int?

    Current selection (the choice that will be highlighted)

    currentSelected int?

    Current selected choice (for radio buttons)

    PromptSelection(string, InputChoiceCategoryInfo[], InputChoiceCategoryInfo[], bool, int?, int?)

    Prompts user for selection

    Returns
    int

    A zero-based selection choice number, or -1 if the user has cancelled the input

    Declaration
    public static int PromptSelection(string Question, InputChoiceCategoryInfo[] Answers, InputChoiceCategoryInfo[] AltAnswers, bool kiosk = false, int? currentSelection = null, int? currentSelected = null)
    Parameters
    Name Type Description
    Question string

    A question

    Answers InputChoiceCategoryInfo[]

    Set of answer categories.

    AltAnswers InputChoiceCategoryInfo[]

    Set of alternate answer categories.

    kiosk bool

    Whether to prevent exiting or not

    currentSelection int?

    Current selection (the choice that will be highlighted)

    currentSelected int?

    Current selected choice (for radio buttons)

    PromptSelection(string, InputChoiceCategoryInfo[], InputChoiceCategoryInfo[], SelectionStyleSettings, bool, int?, int?)

    Prompts user for selection

    Returns
    int

    A zero-based selection choice number, or -1 if the user has cancelled the input

    Declaration
    public static int PromptSelection(string Question, InputChoiceCategoryInfo[] Answers, InputChoiceCategoryInfo[] AltAnswers, SelectionStyleSettings settings, bool kiosk = false, int? currentSelection = null, int? currentSelected = null)
    Parameters
    Name Type Description
    Question string

    A question

    Answers InputChoiceCategoryInfo[]

    Set of answer categories.

    AltAnswers InputChoiceCategoryInfo[]

    Set of alternate answer categories.

    settings SelectionStyleSettings

    Selection settings

    kiosk bool

    Whether to prevent exiting or not

    currentSelection int?

    Current selection (the choice that will be highlighted)

    currentSelected int?

    Current selected choice (for radio buttons)

    PromptSelection(string, InputChoiceCategoryInfo[], SelectionStyleSettings, bool, int?, int?)

    Prompts user for selection

    Returns
    int

    A zero-based selection choice number, or -1 if the user has cancelled the input

    Declaration
    public static int PromptSelection(string Question, InputChoiceCategoryInfo[] Answers, SelectionStyleSettings settings, bool kiosk = false, int? currentSelection = null, int? currentSelected = null)
    Parameters
    Name Type Description
    Question string

    A question

    Answers InputChoiceCategoryInfo[]

    Set of answer categories.

    settings SelectionStyleSettings

    Selection settings

    kiosk bool

    Whether to prevent exiting or not

    currentSelection int?

    Current selection (the choice that will be highlighted)

    currentSelected int?

    Current selected choice (for radio buttons)

    PromptSelection(string, InputChoiceInfo[], bool, int?, int?)

    Prompts user for selection

    Returns
    int

    A zero-based selection choice number, or -1 if the user has cancelled the input

    Declaration
    public static int PromptSelection(string Question, InputChoiceInfo[] Answers, bool kiosk = false, int? currentSelection = null, int? currentSelected = null)
    Parameters
    Name Type Description
    Question string

    A question

    Answers InputChoiceInfo[]

    Set of answers.

    kiosk bool

    Whether to prevent exiting or not

    currentSelection int?

    Current selection (the choice that will be highlighted)

    currentSelected int?

    Current selected choice (for radio buttons)

    PromptSelection(string, InputChoiceInfo[], InputChoiceInfo[], bool, int?, int?)

    Prompts user for selection

    Returns
    int

    A zero-based selection choice number, or -1 if the user has cancelled the input

    Declaration
    public static int PromptSelection(string Question, InputChoiceInfo[] Answers, InputChoiceInfo[] AltAnswers, bool kiosk = false, int? currentSelection = null, int? currentSelected = null)
    Parameters
    Name Type Description
    Question string

    A question

    Answers InputChoiceInfo[]

    Set of answers.

    AltAnswers InputChoiceInfo[]

    Set of alternate answers.

    kiosk bool

    Whether to prevent exiting or not

    currentSelection int?

    Current selection (the choice that will be highlighted)

    currentSelected int?

    Current selected choice (for radio buttons)

    PromptSelection(string, InputChoiceInfo[], InputChoiceInfo[], SelectionStyleSettings, bool, int?, int?)

    Prompts user for selection

    Returns
    int

    A zero-based selection choice number, or -1 if the user has cancelled the input

    Declaration
    public static int PromptSelection(string Question, InputChoiceInfo[] Answers, InputChoiceInfo[] AltAnswers, SelectionStyleSettings settings, bool kiosk = false, int? currentSelection = null, int? currentSelected = null)
    Parameters
    Name Type Description
    Question string

    A question

    Answers InputChoiceInfo[]

    Set of answers.

    AltAnswers InputChoiceInfo[]

    Set of alternate answers.

    settings SelectionStyleSettings

    Selection settings

    kiosk bool

    Whether to prevent exiting or not

    currentSelection int?

    Current selection (the choice that will be highlighted)

    currentSelected int?

    Current selected choice (for radio buttons)

    PromptSelection(string, InputChoiceInfo[], SelectionStyleSettings, bool, int?, int?)

    Prompts user for selection

    Returns
    int

    A zero-based selection choice number, or -1 if the user has cancelled the input

    Declaration
    public static int PromptSelection(string Question, InputChoiceInfo[] Answers, SelectionStyleSettings settings, bool kiosk = false, int? currentSelection = null, int? currentSelected = null)
    Parameters
    Name Type Description
    Question string

    A question

    Answers InputChoiceInfo[]

    Set of answers.

    settings SelectionStyleSettings

    Selection settings

    kiosk bool

    Whether to prevent exiting or not

    currentSelection int?

    Current selection (the choice that will be highlighted)

    currentSelected int?

    Current selected choice (for radio buttons)

    Show / Hide Table of Contents

    Table of contents



      About

      Copyright © 2014-2026 Aptivi

      Find us

    •  
    •  
    •  
    •  
    •  
    •  
    • Social media

    •  
    •  
    •  
    •