Inherits SystemIDisposable.
Public Member Functions | |
ChoiceOption () | |
Constructor. | |
ChoiceOption (string option_value, string option_label, bool selected, bool default_selected) | |
Constructor, with parameters. More... | |
ChoiceOption (ChoiceOption option) | |
Constructor, with another ChoiceOption object. More... | |
void | Set (string option_value, string option_label, bool selected, bool default_selected) |
Set value. More... | |
This class represents the data of an option in list box or combo box.
|
inline |
Constructor, with parameters.
option_value | The option string value. |
option_label | The displayed string value for the option. |
selected | true means the option is selected, and false means the option is not selected. |
default_selected | true means the option would be selected by default, and false means the option would not be selected by default. |
|
inline |
Constructor, with another ChoiceOption object.
option | Another ChoiceOption object. |
|
inline |
Set value.
option_value | The option string value. |
option_label | The displayed string value for the option. |
selected | true means the option is selected, and false means the option is not selected. |
default_selected | true means the option would be selected by default, and false means the option would not be selected by default. |