Class DropDown
- Namespace
- Skyline.DataMiner.Utils.InteractiveAutomationScript
- Assembly
- Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit.dll
A drop-down list.
public class DropDown : InteractiveWidget
- Inheritance
-
DropDown
- 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
- IsDisplayFilterShown
Gets or sets a value indicating whether a filter box is available for the drop-down list.
- IsReadOnly
Gets or sets a value indicating whether the control is displayed in read-only mode. Read-only mode causes the widgets to appear read-write but the user won't be able to change their value. This only affects interactive scripts running in a web environment.
- IsSorted
Gets or sets a value indicating whether the options are sorted naturally.
- Options
Gets or sets the possible options.
- Selected
Gets or sets the selected option.
- Tooltip
Gets or sets the tooltip.
- ValidationState
Gets or sets the state indicating if a given input field was validated or not and if the validation was valid. This should be used by the client to add a visual marker on the input field.
- ValidationText
Gets or sets the text that is shown if the validation state is invalid. This should be used by the client to add a visual marker on the input field.
Methods
- AddOption(string)
Adds an option to the drop-down list.
- LoadResult(UIResults)
Load any changes made through user interaction.
- RaiseResultEvents()
Raises zero or more events of the widget. This method is called after LoadResult(UIResults) was called on all widgets.
- RemoveOption(string)
Removes an option from the drop-down list.
- SetOptions(IEnumerable<string>)
Sets the displayed options. Replaces existing options.
Events
- Changed
Triggered when a different option is selected. WantsOnChange will be set to true when this event is subscribed to.