Search Results for

    Show / Hide Table of Contents

    Class SelectionMultipleStyle

    Multiple selection style for input module

    Inheritance
    object
    SelectionMultipleStyle
    Namespace: Terminaux.Inputs.Styles.Selection
    Assembly: Terminaux.dll
    Syntax
    public static class SelectionMultipleStyle

    Methods

    | Edit this page View Source

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

    Prompts user for selection

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

    A question

    (string, string)[] Answers

    Set of answers.

    bool kiosk

    Whether to prevent exiting or not

    int[] initialChoices

    Zero-based index numbers of selected choices

    int? currentSelection

    Current selection (the choice that will be highlighted)

    Returns
    Type Description
    int[]

    An array of zero-based choice indexes, or an empty array if the user has cancelled the input

    | Edit this page View Source

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

    Prompts user for selection

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

    A question

    (string, string)[] Answers

    Set of answers.

    (string, string)[] AlternateAnswers

    Set of alternate answers.

    bool kiosk

    Whether to prevent exiting or not

    int[] initialChoices

    Zero-based index numbers of selected choices

    int? currentSelection

    Current selection (the choice that will be highlighted)

    Returns
    Type Description
    int[]

    An array of zero-based choice indexes, or an empty array if the user has cancelled the input

    | Edit this page View Source

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

    Prompts user for selection

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

    A question

    (string, string)[] Answers

    Set of answers.

    (string, string)[] AlternateAnswers

    Set of alternate answers.

    SelectionStyleSettings settings

    Selection settings

    bool kiosk

    Whether to prevent exiting or not

    int[] initialChoices

    Zero-based index numbers of selected choices

    int? currentSelection

    Current selection (the choice that will be highlighted)

    Returns
    Type Description
    int[]

    An array of zero-based choice indexes, or an empty array if the user has cancelled the input

    | Edit this page View Source

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

    Prompts user for selection

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

    A question

    (string, string)[] Answers

    Set of answers.

    SelectionStyleSettings settings

    Selection settings

    bool kiosk

    Whether to prevent exiting or not

    int[] initialChoices

    Zero-based index numbers of selected choices

    int? currentSelection

    Current selection (the choice that will be highlighted)

    Returns
    Type Description
    int[]

    An array of zero-based choice indexes, or an empty array if the user has cancelled the input

    | Edit this page View Source

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

    Prompts user for selection

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

    A question

    InputChoiceCategoryInfo[] Answers

    Set of answers.

    bool kiosk

    Whether to prevent exiting or not

    int[] initialChoices

    Zero-based index numbers of selected choices

    int? currentSelection

    Current selection (the choice that will be highlighted)

    Returns
    Type Description
    int[]

    An array of zero-based choice indexes, or an empty array if the user has cancelled the input

    | Edit this page View Source

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

    Prompts user for selection

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

    A question

    InputChoiceCategoryInfo[] Answers

    Set of answers.

    InputChoiceCategoryInfo[] AltAnswers

    Set of alternate answers.

    bool kiosk

    Whether to prevent exiting or not

    int[] initialChoices

    Zero-based index numbers of selected choices

    int? currentSelection

    Current selection (the choice that will be highlighted)

    Returns
    Type Description
    int[]

    An array of zero-based choice indexes, or an empty array if the user has cancelled the input

    | Edit this page View Source

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

    Prompts user for selection

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

    A question

    InputChoiceCategoryInfo[] Answers

    Set of answers.

    InputChoiceCategoryInfo[] AltAnswers

    Set of alternate answers.

    SelectionStyleSettings settings

    Selection settings

    bool kiosk

    Whether to prevent exiting or not

    int[] initialChoices

    Zero-based index numbers of selected choices

    int? currentSelection

    Current selection (the choice that will be highlighted)

    Returns
    Type Description
    int[]

    An array of zero-based choice indexes, or an empty array if the user has cancelled the input

    | Edit this page View Source

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

    Prompts user for selection

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

    A question

    InputChoiceCategoryInfo[] Answers

    Set of answers.

    SelectionStyleSettings settings

    Selection settings

    bool kiosk

    Whether to prevent exiting or not

    int[] initialChoices

    Zero-based index numbers of selected choices

    int? currentSelection

    Current selection (the choice that will be highlighted)

    Returns
    Type Description
    int[]

    An array of zero-based choice indexes, or an empty array if the user has cancelled the input

    | Edit this page View Source

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

    Prompts user for selection

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

    A question

    InputChoiceInfo[] Answers

    Set of answers.

    bool kiosk

    Whether to prevent exiting or not

    int[] initialChoices

    Zero-based index numbers of selected choices

    int? currentSelection

    Current selection (the choice that will be highlighted)

    Returns
    Type Description
    int[]

    An array of zero-based choice indexes, or an empty array if the user has cancelled the input

    | Edit this page View Source

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

    Prompts user for selection

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

    A question

    InputChoiceInfo[] Answers

    Set of answers.

    InputChoiceInfo[] AltAnswers

    Set of alternate answers.

    bool kiosk

    Whether to prevent exiting or not

    int[] initialChoices

    Zero-based index numbers of selected choices

    int? currentSelection

    Current selection (the choice that will be highlighted)

    Returns
    Type Description
    int[]

    An array of zero-based choice indexes, or an empty array if the user has cancelled the input

    | Edit this page View Source

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

    Prompts user for selection

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

    A question

    InputChoiceInfo[] Answers

    Set of answers.

    InputChoiceInfo[] AltAnswers

    Set of alternate answers.

    SelectionStyleSettings settings

    Selection settings

    bool kiosk

    Whether to prevent exiting or not

    int[] initialChoices

    Zero-based index numbers of selected choices

    int? currentSelection

    Current selection (the choice that will be highlighted)

    Returns
    Type Description
    int[]

    An array of zero-based choice indexes, or an empty array if the user has cancelled the input

    | Edit this page View Source

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

    Prompts user for selection

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

    A question

    InputChoiceInfo[] Answers

    Set of answers.

    SelectionStyleSettings settings

    Selection settings

    bool kiosk

    Whether to prevent exiting or not

    int[] initialChoices

    Zero-based index numbers of selected choices

    int? currentSelection

    Current selection (the choice that will be highlighted)

    Returns
    Type Description
    int[]

    An array of zero-based choice indexes, or an empty array if the user has cancelled the input

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