Table of Contents

Method AddRadioButtonListOption

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

AddRadioButtonListOption(string, string)

Adds an entry to the radio button list.

public void AddRadioButtonListOption(string rawValue, string displayValue)

Parameters

rawValue string

The raw value.

displayValue string

The display value.

Remarks

note

When no initial value is passed to this list, no radio button will be selected by default.

Only intended to be used when Type is set to UIBlockType.RadioButtonList.

Feature introduced in DataMiner 9.6.6 (RN 21475).

AddRadioButtonListOption(string)

Adds an entry to the radio button list.

public void AddRadioButtonListOption(string option)

Parameters

option string

The entry to add.

Examples

UIBlockDefinition blockRadioButtonList = new UIBlockDefinition();
blockRadioButtonList.Type = UIBlockType.RadioButtonList;
...
foreach (string sOption in dropDownOptions)
{
	uibDef.AddRadioButtonListOption(sOption);
}

Remarks

note

When no initial value is passed to this list, no radio button will be selected by default.

Only intended to be used when Type is set to UIBlockType.RadioButtonList.

Feature introduced in DataMiner 9.6.6 (RN 21475).