Enum UIBlockType
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
Specifies the of a dialog box item in an interactive Automation script.
public enum UIBlockType
Fields
Button = 4
Button.
Calendar = 8
Calendar control.
CheckBox = 7
Checkbox.
CheckBoxList = 11
Checkbox list.
DownloadButton = 18
Download button.
DropDown = 3
Drop-down list.
Executable = 13
Run client program.
FileSelector = 16
File selector.
Available from DataMiner 10.0.2 onwards (RN 23950).
GlobalSettings = 10
Global settings. Used internally.
Numeric = 12
Numeric.
Allows you to define a newly created dialog box item displaying a numeric value.
The initial value has to have the following format: [DoubleValue];[Boolean];[SelectedDiscreetString]
- DoubleValue: Value of the numeric box.
- Boolean: Indicates whether the discrete checkbox is selected (true) or cleared (false).
- SelectedDiscreetString: selects the discrete parameter with that exact name in case multiple discrete parameters are defined.
Example:
string sel_numericValue = "10;true;Discreet 2";
If you want a checkbox with one or more discrete values, then use the Extra property to specify a list of discrete values (separated by semicolons). If you only want a numeric box and no checkbox, then leave the Extra property empty. In that case, just set the initial value to the DoubleValue.
If you set the WantsOnChange property to “true”, then both the checkbox and the discrete combo box will trigger a change.
Optionally you can provide a RangeHigh (maximum value), a RangeLow (minimum value), a RangeStep (increment or decrement steps) and the number of decimals.
Note: From DataMiner 9.5.5 onwards, you can specify the WantsOnChange property to have a small delay before a change is triggered by the numeric box itself, in order to avoid updates being sent as soon as a single character is changed in the numeric box. See WantsOnChange.
Parameter = 6
Text displaying the value of a parameter.
PasswordBox = 15
Password input box.
Available from DataMiner 9.6.6 onwards (RN 21518).
RadioButtonList = 14
Radio button list.
Available from DataMiner 9.6.6 onwards (RN 21475).
StaticText = 1
Static text.
TextBox = 2
Text box.
From DataMiner 9.5.3 onwards, this control can be used with a ‘WantsOnChange’ property, which prevents updates being sent after a single character is changed in a text box. See WantsOnChange.
Time = 9
Item that displays a time value.
From DataMiner 9.5.3 onwards, additional classes are available to define controls to select the date and/or time. See AutomationConfigOptions.
TreeView = 17
Tree view control.
Available from DataMiner 10.0.10 onwards. Only supported in web.
Undefined = 0
Used internally.
Variable = 5
Used internally.
Remarks
Refer to UIBlockType overview.