Class InputChoiceInfo
Choice information for input
Inheritance
Namespace
Syntax
public class InputChoiceInfo
Constructors
InputChoiceInfo(string, string)
Makes a new instance of choice information
Declaration
public InputChoiceInfo(string choiceName, string choiceTitle)
Parameters
| Name | Type | Description |
|---|---|---|
| choiceName | string | Choice name |
| choiceTitle | string | Choice title |
InputChoiceInfo(string, string, string)
Makes a new instance of choice information
Declaration
public InputChoiceInfo(string choiceName, string choiceTitle, string choiceDescription)
Parameters
| Name | Type | Description |
|---|---|---|
| choiceName | string | Choice name |
| choiceTitle | string | Choice title |
| choiceDescription | string | 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
| Name | Type | Description |
|---|---|---|
| choiceName | string | Choice name |
| choiceTitle | string | Choice title |
| choiceDescription | string | Choice description |
| choiceDefault | bool | 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
| Name | Type | Description |
|---|---|---|
| choiceName | string | Choice name |
| choiceTitle | string | Choice title |
| choiceDescription | string | Choice description |
| choiceDefault | bool | Whether this choice is the default choice or not |
| choiceDefaultSelected | bool | 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
| Name | Type | Description |
|---|---|---|
| choiceName | string | Choice name |
| choiceTitle | string | Choice title |
| choiceDescription | string | Choice description |
| choiceDefault | bool | Whether this choice is the default choice or not |
| choiceDefaultSelected | bool | Whether this choice is the selected choice by default |
| choiceDisabled | bool | Whether this choice is disabled or not |
Properties
ChoiceDefault
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.
Property Value
Declaration
public bool ChoiceDefault { get; }
ChoiceDefaultSelected
Whether this choice is the selected choice by default or not.
Property Value
Declaration
public bool ChoiceDefaultSelected { get; }
ChoiceDescription
Choice description
Property Value
Declaration
public string ChoiceDescription { get; }
ChoiceDisabled
Whether this choice is disabled or not.
Property Value
Declaration
public bool ChoiceDisabled { get; }
ChoiceName
Choice name
Property Value
Declaration
public string ChoiceName { get; }
ChoiceTitle
Choice title
Property Value
Declaration
public string ChoiceTitle { get; }