Table of Contents

Class CheckBoxList<T>

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

A list of checkboxes.

public class CheckBoxList<T> : CheckBoxListBase, ICheckBoxList<T>, ICheckBoxListBase, IValidationWidget, IOptionWidget<T>

Type Parameters

T
Inheritance
CheckBoxList<T>
Implements
Inherited Members
Extension Methods

Constructors

CheckBoxList()

Initializes a new instance of the CheckBoxList class.

CheckBoxList(IEnumerable<Option<T>>)

Initializes a new instance of the CheckBoxList class.

CheckBoxList(IEnumerable<T>)

Initializes a new instance of the CheckBoxList class.

Properties

Checked

Gets a collection of values of type T that are currently checked.

CheckedOptions

Gets a collection of options of type T that are currently checked.

Options

Gets or sets the collection of available options as Option<T> objects.

Unchecked

Gets a collection of values of type T that are currently unchecked.

UncheckedOptions

Gets a collection of options of type T that are currently unchecked.

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 checkboxlist by its <xref href="System.Object.ToString" data-throw-if-not-resolved="false"></xref> counterpart.
Check(Option<T>)

Marks the specified option as checked.

Check(T)

Marks the option with the specified value as checked.

CheckAll()

Checks all options in the checkboxlist.

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.

Uncheck(Option<T>)

Marks the specified option as unchecked.

Uncheck(T)

Marks the option with the specified value as unchecked.

UncheckAll()

Unchecks all options in the checkboxlist.

Events

Changed

Triggered when the state of a checkbox changes. WantsOnChange will be set to true when this event is subscribed to.