Class DropDown
- Namespace
- Skyline.DataMiner.Utils.InteractiveAutomationScript
- Assembly
- Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit.dll
A drop-down list.
public class DropDown : DropDownBase, IDropDownBase, IValidationWidget, IDropDown, IOptionWidget
- Inheritance
-
DropDown
- Implements
- Inherited Members
- Extension Methods
Constructors
- DropDown()
Initializes a new instance of the DropDown class.
- DropDown(IEnumerable<string>, string)
Initializes a new instance of the DropDown class.
Properties
- Options
Gets the collection of available options as strings.
- Selected
Gets or sets the currently selected option as a string.
Methods
- AddOption(string)
Adds a new option to the list of available options.
- LoadResult(IUIResults)
Load any changes made through user interaction.
- RaiseResultEvents()
Raises zero or more events of the widget. This method is called after LoadResult(IUIResults) was called on all widgets.
- RemoveOption(string)
Removes the specified option from the list of available options.
- SetOptions(IEnumerable<string>)
Replaces the current list of options with the specified collection of strings.
Events
- Changed
Triggered when a different option is selected. WantsOnChange will be set to true when this event is subscribed to.