Class InputChoiceInfo
Choice information for input
Inheritance
Namespace: Terminaux.Inputs.Styles
Assembly: Terminaux.dll
Syntax
public class InputChoiceInfo
Constructors
| Edit this page View SourceInputChoiceInfo(string, string)
Makes a new instance of choice information
Declaration
public InputChoiceInfo(string choiceName, string choiceTitle)
Parameters
Type | Name | Description |
---|---|---|
string | choiceName | Choice name |
string | choiceTitle | Choice title |
InputChoiceInfo(string, string, string)
Makes a new instance of choice information
Declaration
public InputChoiceInfo(string choiceName, string choiceTitle, string choiceDescription)
Parameters
Type | Name | Description |
---|---|---|
string | choiceName | Choice name |
string | choiceTitle | Choice title |
string | choiceDescription | Choice description |
InputChoiceInfo(string, string, string, bool)
Makes a new instance of choice information
Declaration
public InputChoiceInfo(string choiceName, string choiceTitle, string choiceDescription, bool choiceDefault)
Parameters
Type | Name | Description |
---|---|---|
string | choiceName | Choice name |
string | choiceTitle | Choice title |
string | choiceDescription | Choice description |
bool | choiceDefault | Whether this choice is the default choice or not |
InputChoiceInfo(string, string, string, bool, bool)
Makes a new instance of choice information
Declaration
public InputChoiceInfo(string choiceName, string choiceTitle, string choiceDescription, bool choiceDefault, bool choiceDefaultSelected)
Parameters
Type | Name | Description |
---|---|---|
string | choiceName | Choice name |
string | choiceTitle | Choice title |
string | choiceDescription | Choice description |
bool | choiceDefault | Whether this choice is the default choice or not |
bool | choiceDefaultSelected | Whether this choice is the selected choice by default |
InputChoiceInfo(string, string, string, bool, bool, bool)
Makes a new instance of choice information
Declaration
public InputChoiceInfo(string choiceName, string choiceTitle, string choiceDescription, bool choiceDefault, bool choiceDefaultSelected, bool choiceDisabled)
Parameters
Type | Name | Description |
---|---|---|
string | choiceName | Choice name |
string | choiceTitle | Choice title |
string | choiceDescription | Choice description |
bool | choiceDefault | Whether this choice is the default choice or not |
bool | choiceDefaultSelected | Whether this choice is the selected choice by default |
bool | choiceDisabled | Whether this choice is disabled or not |
Properties
| Edit this page View SourceChoiceDefault
Whether this choice is the default choice or not. If multiple choices in the same choice list have ChoiceDefault set to true, most of the tools will automatically select the first default, ignoring the rest.
Declaration
public bool ChoiceDefault { get; }
Property Value
Type | Description |
---|---|
bool |
ChoiceDefaultSelected
Whether this choice is the selected choice by default or not.
Declaration
public bool ChoiceDefaultSelected { get; }
Property Value
Type | Description |
---|---|
bool |
ChoiceDescription
Choice description
Declaration
public string ChoiceDescription { get; }
Property Value
Type | Description |
---|---|
string |
ChoiceDisabled
Whether this choice is disabled or not.
Declaration
public bool ChoiceDisabled { get; }
Property Value
Type | Description |
---|---|
bool |
ChoiceName
Choice name
Declaration
public string ChoiceName { get; }
Property Value
Type | Description |
---|---|
string |
ChoiceTitle
Choice title
Declaration
public string ChoiceTitle { get; }
Property Value
Type | Description |
---|---|
string |