Class Numeric
- Namespace
- Skyline.DataMiner.Utils.InteractiveAutomationScript
- Assembly
- Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit.dll
A spinner or numeric up-down control. Has a slider when the range is limited.
public class Numeric : InteractiveWidget
- Inheritance
-
Numeric
- Inherited Members
- Extension Methods
Constructors
- Numeric(double)
Initializes a new instance of the Numeric class.
Properties
- Decimals
Gets or sets the number of decimals to show.
- IsReadOnly
Gets or sets a value indicating whether the control is displayed in read-only mode. Read-only mode causes the widgets to appear read-write but the user won't be able to change their value. This only affects interactive scripts running in a web environment.
- Maximum
Gets or sets the maximum value of the range.
- Minimum
Gets or sets the minimum value of the range.
- StepSize
Gets or sets the step size.
- Tooltip
Gets or sets the tooltip.
- ValidationState
Gets or sets the state indicating if a given input field was validated or not and if the validation was valid. This should be used by the client to add a visual marker on the input field.
- ValidationText
Gets or sets the text that is shown if the validation state is invalid. This should be used by the client to add a visual marker on the input field.
- Value
Gets or sets the value of the numeric.
Methods
- LoadResult(UIResults)
Load any changes made through user interaction.
- RaiseResultEvents()
Raises zero or more events of the widget. This method is called after LoadResult(UIResults) was called on all widgets.
Events
- Changed
Triggered when the value of the numeric changes. WantsOnChange will be set to true when this event is subscribed to.
- FocusLost
Triggered when the user loses focus of the Numeric. WantsOnFocusLost will be set to true when this event is subscribed to.