Method AddDropDownOption
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
AddDropDownOption(string)
Adds an entry to a drop-down list.
public void AddDropDownOption(string option)
Parameters
option
stringThe entry to add.
Remarks
Only intended to be used when Type is set to UIBlockType.DropDown.
AddDropDownOption(string, string)
Adds an entry to a drop-down list.
public void AddDropDownOption(string rawValue, string displayValue)
Parameters
Examples
UIBlockDefinition blockItem = new UIBlockDefinition();
blockItem.Type = UIBlockType.DropDown;
blockItem.AddDropDownOption("option_a","First option");
blockItem.AddDropDownOption("option_b","Second option");
uibDialogBox1.AppendBlock(blockItem);
Remarks
Only intended to be used when Type is set to UIBlockType.DropDown.