Table of Contents

Class RadioButtonList<T>

Namespace
Skyline.DataMiner.Utils.InteractiveAutomationScript
Assembly
Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit.dll

A group of radio buttons.

public class RadioButtonList<T> : RadioButtonListBase, IRadioButtonListBase, IRadioButtonList<T>, IOptionWidget<T>

Type Parameters

T
Inheritance
RadioButtonList<T>
Implements
Inherited Members
Extension Methods

Constructors

RadioButtonList()

Initializes a new instance of the RadioButtonList class.

RadioButtonList(IEnumerable<Option<T>>, Option<T>)

Initializes a new instance of the RadioButtonList class.

RadioButtonList(IEnumerable<T>)

Initializes a new instance of the RadioButtonList class.

RadioButtonList(IEnumerable<T>, T)

Initializes a new instance of the RadioButtonList class.

Properties

Options

Gets or sets all options.

Selected

Value of the currently selected option.

SelectedOption

Currently selected option.

Values

Gets or sets the collection of available values of type T.

Setting this property overrides all options and causes every value to be visually represented by their <xref href="System.Object.ToString" data-throw-if-not-resolved="false"></xref> counterpart.

Methods

AddOption(Option<T>)

Adds a new option to the list of available options.

AddOption(T)

Adds a new value to the list of available options.

This value is represented in the radiobuttonlist by its <xref href="System.Object.ToString" data-throw-if-not-resolved="false"></xref> counterpart.
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(Option<T>)

Removes the specified option from the list of available options.

RemoveOption(T)

Removes all options representing the specified value from the list of available options.

SetOptions(IEnumerable<Option<T>>)

Replaces the current list of options with the specified collection of Option<T> objects.

SetOptions(IEnumerable<T>)

Replaces the current list of options with the specified collection of values of type T.

Events

Changed

Triggered when a different option is selected. WantsOnChange will be set to true when this event is subscribed to.