Class UIBuilder
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
Represents the builder of a dialog box of an interactive automation script.
public class UIBuilder
- Inheritance
-
UIBuilder
- Extension Methods
Remarks
note
If you want to use IntelliSense in DataMiner Cube, the name of the dialog box has to start with “uib”.
note
Interactive Automation scripts resize their width and height depending on which properties of the script are filled in (UIBuilder.Height, .Width, .MinHeight, .MinWidth). If nothing is defined in the script, a default width and height of 650px by 650px will be applied.
Constructors
- UIBuilder()
Initializes a new instance of the UIBuilder class.
Properties
- ColumnDefs
Gets or sets the width (in pixels) of all columns of the dialog box grid, separated by semicolons.
- Height
Gets or sets the fixed height (in pixels) of the dialog box.
- MaxHeight
Gets or sets the maximum height (in pixels) of the dialog box.
- MaxWidth
Gets or sets the maximum width (in pixels) of the dialog box.
- MinHeight
Gets or sets the minimum height (in pixels) of the dialog box.
- MinWidth
Gets or sets the minimum width (in pixels) of the dialog box.
- RequireResponse
Gets or sets a value indicating whether the dialog box expects some action from the user (e.g. clicking a button, selecting a checkbox, selecting an entry in a selection box, etc.).
- RowDefs
Gets or sets the height (in pixels) of all rows of the dialog box grid, separated by semicolons.
- SkipAbortConfirmation
Gets or sets a value indicating whether the confirmation pop-up window when aborting a script should be shown or not.
- Title
Gets or sets the title.
- Width
Gets or sets the fixed width (in pixels) of the dialog box.
Methods
- Append(string)
Adds the specified text to this dialog box.
- Append(string, params object[])
Adds the specified composite format string to this dialog box.
- AppendBlock(UIBlockDefinition)
Adds the specified UIBlockDefinition instance to this dialog box.
- AppendButton(string, string)
Adds a button to this dialog box with the specified destination variable name and button text.
- AppendButton(string, string, string)
Adds a button to this dialog box with the specified destination variable name, button text, and style.
The supported button styles can be accessed through const strings on the Style.Button class.This is supported from DataMiner 10.3.1/10.4.0 onwards.
- AppendDropDown(string, params string[])
Adds a drop-down box to this dialog box.
- AppendLine()
Adds a new line to this dialog box.
- AppendLine(string)
Adds the specified line of text to this dialog box.
- AppendLine(string, params object[])
Adds the specified composite format string to this dialog box.
- AppendParameter(IActionableElement, int)
Adds the display value of the specified (standalone or table) parameter to this dialog box.
- AppendParameter(IActionableElement, int, string)
Adds the display value of the specified table cell to this dialog box.
- AppendParameter(int, int, int)
Adds the display value of the specified (standalone or table) parameter to this dialog box.
- AppendParameter(int, int, int, string)
Adds the display value of the specified table cell to this dialog box.
- AppendTextBox(string)
Adds a textbox to this dialog box.
- ToString()
Gets a string representation of this dialog box.