Method AddDropDownOption
- Namespace
 - Skyline.DataMiner.Automation
 
- Assembly
 - SLManagedAutomation.dll
 
AddDropDownOption(string)
Adds an entry to a dropdown list.
public void AddDropDownOption(string option)
Parameters
optionstringThe entry to add.
Remarks
Only intended to be used when Type is set to UIBlockType.DropDown.
AddDropDownOption(string, string)
Adds an entry to a dropdown 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.