Constructor RadioButtonList
- Namespace
- Skyline.DataMiner.Utils.InteractiveAutomationScript
- Assembly
- Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit.dll
RadioButtonList()
Initializes a new instance of the RadioButtonList class.
public RadioButtonList()
RadioButtonList(IEnumerable<T>)
Initializes a new instance of the RadioButtonList class.
public RadioButtonList(IEnumerable<T> options)
Parameters
options
IEnumerable<T>Values that can be selected, every value is visualized in the radiobuttonlist by its ToString() counterpart.
Exceptions
- ArgumentNullException
When options is null.
RadioButtonList(IEnumerable<T>, T)
Initializes a new instance of the RadioButtonList class.
public RadioButtonList(IEnumerable<T> options, T selected)
Parameters
options
IEnumerable<T>Values that can be selected, every value is visualized in the radiobuttonlist by its ToString() counterpart.
selected
TDefault selected value.
Exceptions
- ArgumentNullException
When options is null.
RadioButtonList(IEnumerable<Option<T>>, Option<T>)
Initializes a new instance of the RadioButtonList class.
public RadioButtonList(IEnumerable<Option<T>> options, Option<T> selected = null)
Parameters
options
IEnumerable<Option<T>>Name of options that can be selected.
selected
Option<T>Selected option.