Table of Contents

Class Widget

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

Base class for widgets.

public class Widget
Inheritance
Widget
Derived
Extension Methods

Constructors

Widget()

Initializes a new instance of the Widget class.

Properties

BlockDefinition

Gets the internal DataMiner representation of the widget. This object should not be used! This library exists so you don't need to use this object.

DebugTag

Gets or sets the value of the 'data-cy' attribute of the dma-automation-grid-component element used to display the widget in HTML. Note: it is only be possible to use this DebugTag in web, this will not be added when running IAS in cube.

Height

Gets or sets the fixed height (in pixels) of the widget.

IsVisible

Gets or sets a value indicating whether the widget is visible in the dialog.

Margin

Gets or sets the margin of the widget.

MaxHeight

Gets or sets the maximum height (in pixels) of the widget.

MaxWidth

Gets or sets the maximum width (in pixels) of the widget.

MinHeight

Gets or sets the minimum height (in pixels) of the widget.

MinWidth

Gets or sets the minimum width (in pixels) of the widget.

Type

Gets or sets the UIBlockType of the widget.

Width

Gets or sets the fixed width (in pixels) of the widget.

Methods

RecreateUiBlock()

Ugly method to clear the internal list of DropDown items that can't be accessed.

SetHeightAuto()

Set the height of the widget based on its content.

SetWidthAuto()

Set the width of the widget based on its content.