Table of Contents

Class TimePicker

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

Widget to show/edit a time of day.

public class TimePicker : TimePickerBase
Inheritance
TimePicker
Inherited Members
Extension Methods

Constructors

TimePicker()

Initializes a new instance of the TimePicker class.

TimePicker(TimeSpan)

Initializes a new instance of the TimePicker class.

Properties

EndTime

Gets or sets the last time listed in the time picker control. Default: TimeSpan.FromMinutes(1439) (1 day - 1 minute).

HasDropDownButton

Gets or sets a value indicating whether the drop-down button of the time picker control is shown. Default: true.

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.

MaxDropDownHeight

Gets or sets the height of the time picker control. Default: 130.

Maximum

Gets or sets the maximum time of day.

Minimum

Gets or sets the minimum time of day.

StartTime

Gets or sets the earliest time listed in the time picker control. Default: TimeSpan.Zero.

Time

Gets or sets the time of day displayed in the time picker.

TimeInterval

Gets or sets the time interval between two time items in the time picker control. Default: TimeSpan.FromHours(1).

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 a different time is picked. WantsOnChange will be set to true when this event is subscribed to.

FocusLost

Triggered when the user loses focus of the TimePicker. WantsOnFocusLost will be set to true when this event is subscribed to.