Class InfoBoxSelectionMultipleColor
Info box writer with selection and color support
Inheritance
Namespace: Terminaux.Inputs.Styles.Infobox
Assembly: Terminaux.dll
Syntax
public static class InfoBoxSelectionMultipleColor
Methods
| Edit this page View SourceWriteInfoBoxSelectionMultiple(int[], int, InputChoiceCategoryInfo[], string, params object[])
Writes the multiple-choice selection info box
Declaration
public static int[] WriteInfoBoxSelectionMultiple(int[] initialChoices, int currentSelection, InputChoiceCategoryInfo[] selections, string text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
int[] | initialChoices | Zero-based index numbers of selected choices |
int | currentSelection | Current selection (the choice that will be highlighted) |
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 |
WriteInfoBoxSelectionMultiple(int[], int, InputChoiceCategoryInfo[], string, InfoBoxSettings, params object[])
Writes the multiple-choice selection info box
Declaration
public static int[] WriteInfoBoxSelectionMultiple(int[] initialChoices, int currentSelection, InputChoiceCategoryInfo[] selections, string text, InfoBoxSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
int[] | initialChoices | Zero-based index numbers of selected choices |
int | currentSelection | Current selection (the choice that will be highlighted) |
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 |
WriteInfoBoxSelectionMultiple(int[], int, InputChoiceInfo[], string, params object[])
Writes the multiple-choice selection info box
Declaration
public static int[] WriteInfoBoxSelectionMultiple(int[] initialChoices, int currentSelection, InputChoiceInfo[] selections, string text, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
int[] | initialChoices | Zero-based index numbers of selected choices |
int | currentSelection | Current selection (the choice that will be highlighted) |
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 |
WriteInfoBoxSelectionMultiple(int[], int, InputChoiceInfo[], string, InfoBoxSettings, params object[])
Writes the multiple-choice selection info box
Declaration
public static int[] WriteInfoBoxSelectionMultiple(int[] initialChoices, int currentSelection, InputChoiceInfo[] selections, string text, InfoBoxSettings settings, params object[] vars)
Parameters
Type | Name | Description |
---|---|---|
int[] | initialChoices | Zero-based index numbers of selected choices |
int | currentSelection | Current selection (the choice that will be highlighted) |
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 |
WriteInfoBoxSelectionMultiple(InputChoiceCategoryInfo[], string, params object[])
Writes the multiple-choice selection info box
Declaration
public static int[] WriteInfoBoxSelectionMultiple(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 |
WriteInfoBoxSelectionMultiple(InputChoiceCategoryInfo[], string, InfoBoxSettings, params object[])
Writes the multiple-choice selection info box
Declaration
public static int[] WriteInfoBoxSelectionMultiple(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 |
WriteInfoBoxSelectionMultiple(InputChoiceInfo[], string, params object[])
Writes the multiple-choice selection info box
Declaration
public static int[] WriteInfoBoxSelectionMultiple(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 |
WriteInfoBoxSelectionMultiple(InputChoiceInfo[], string, InfoBoxSettings, params object[])
Writes the multiple-choice selection info box
Declaration
public static int[] WriteInfoBoxSelectionMultiple(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 |