Table of Contents

Class TextBox

Namespace
Skyline.DataMiner.Utils.InteractiveAutomationScript
Assembly
Skyline.DataMiner.Utils.InteractiveAutomationScriptToolkit.dll

Widget that is used to edit and display text.

public class TextBox : InteractiveWidget
Inheritance
TextBox
Inherited Members
Extension Methods

Constructors

TextBox()

Initializes a new instance of the TextBox class.

TextBox(string)

Initializes a new instance of the TextBox class.

Properties

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 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.

PlaceHolder

Gets or sets the text that should be displayed as a placeholder.

Text

Gets or sets the text displayed in the text box.

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.

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 text in the text box changes. WantsOnChange will be set to true when this event is subscribed to.

FocusLost

Triggered when the user loses focus of the TextBox. E.g. clicking somewhere else other than the TextBox widget in the Dialog. WantsOnFocusLost will be set to true when this event is subscribed to.