Table of Contents

Class UIBlockDefinition

Namespace
Skyline.DataMiner.Automation
Assembly
SLManagedAutomation.dll

Represents an item in a dialog box of an interactive Automation script.

public class UIBlockDefinition
Inheritance
UIBlockDefinition
Extension Methods

Constructors

UIBlockDefinition()

Initializes a new instance of the UIBlockDefinition class.

Properties

AllowMultipleFiles

Gets or sets a value indicating whether multiple files can be uploaded.

AllowedFileNameExtensions

Gets or sets the allowed file name extensions.

Column

Gets or sets the zero-based index of the column in which the dialog box item has to be placed.

ColumnSpan

Gets or sets the number of joining columns the dialog box item is allowed to occupy.

ConfigOptions

Gets or sets the configuration options.

DebugTag

Gets or sets the debug tag to identify the component for this block in web.

Decimals

Gets or sets the number of decimals to show.

DestVar

Gets or sets the alias that will be used to retrieve the value entered or selected by the user from the UIResults object.

DisplayFilter

Gets or sets a value indicating whether a filter box is available for the control.

Extra

Gets or sets the ID of the parameter that has to be displayed in the dialog box item.

HasPeekIcon

Gets or sets a value indicating whether the password box shows an icon that, when clicked, allows displaying the value inside the password box.

Height

Gets or sets the fixed height (in pixels) of the dialog box item.

HorizontalAlignment

Gets or sets the horizontal alignment of the dialog box item.

InitialValue

Gets or sets the value that will be assigned to the dialog box item the moment the dialog box opens.

IsEnabled

Gets or sets a value indicating whether the control is enabled in the UI.

IsMultiline

Gets or sets a value indicating whether users are able to enter multiple lines of text.

IsReadOnly

Gets or sets a value indicating whether the control is read-only in the UI.

IsRequired

Gets or sets a value indicating whether this input control requires a value.

IsSorted

Gets or sets a value indicating whether items in the control are sorted naturally.

Margin

Gets or sets the margin (in pixels) around the dialog box item.

MaxFileSizeInBytes

Gets or sets the maximum allowed file size.

MaxHeight

Gets or sets the maximum height (in pixels) of the dialog box item.

MaxWidth

Gets or sets the maximum width (in pixels) of the dialog box item.

MinHeight

Gets or sets the minimum height (in pixels) of the dialog box item.

MinWidth

Gets or sets the minimum width (in pixels) of the dialog box item.

PlaceholderText

Gets or sets the placeholder text.

RangeHigh

Gets or sets the maximum value of the range.

RangeLow

Gets or sets the minimum value of the range.

RangeStep

Gets or sets the step size.

Row

Gets or sets the zero-based index of the row in which the dialog box item has to be positioned.

RowSpan

Gets or sets the number of joining rows the dialog box item is allowed to occupy.

Style

Gets or sets the style of the dialog box item.

Text

Gets or sets the text that has to appear in the dialog box item.

Title

Gets or sets the title.

TooltipText

Gets or sets the text of the tooltip for a component of an interactive Automation script.

TreeViewItems

Contains each item of the tree view as a TreeViewItem.

Type

Gets or sets the type of the dialog box item.

ValidationState

Gets or sets a value indicating the validation state.

ValidationText

Gets or sets the validation text.

VerticalAlignment

Gets or sets the vertical alignment of the dialog box item.

WantsOnChange

Gets or sets a value indicating whether an update of the current value of the dialog box item will trigger an OnChange event.

WantsOnFocusLost

Gets or sets a value indicating whether an OnChange event will be triggered when the component loses focus.

Width

Gets or sets the fixed width (in pixels) of the dialog box item.

Methods

AddCheckBoxListOption(string)

Adds an entry to a checkbox list.

AddCheckBoxListOption(string, string)

Adds an entry to a checkbox list.

AddDropDownOption(string)

Adds an entry to a drop-down list.

AddDropDownOption(string, string)

Adds an entry to a drop-down list.

AddRadioButtonListOption(string)

Adds an entry to the radio button list.

AddRadioButtonListOption(string, string)

Adds an entry to the radio button list.

ToCode()

Returns a string representation of this dialog box item.

ToString(UIBlockType)

Returns a string representation of the specified block type.