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.

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.