Interface IDropDown<T>
- Namespace
- Skyline.DataMiner.Utils.InteractiveAutomationScript
- Assembly
- Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit.dll
Defines a generic dropdown widget with a single selected option of a specified type.
public interface IDropDown<T> : IOptionWidget<T>
Type Parameters
TThe type of the value associated with each option in the dropdown.
- Inherited Members
- Extension Methods
Properties
- Selected
Gets or sets the value of the currently selected option.
- SelectedOption
Gets or sets the currently selected option as an Option<T>.
Methods
- TrySelectOption(Option<T>)
Attempts to select the specified option. If the option does not exist in the collection, the selection remains unchanged.
- TrySelectOption(T)
Attempts to select the option with the specified value. If no matching option exists, the selection remains unchanged.