Table of Contents

Class Calendar

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

Widget to show/edit a datetime.

public class Calendar : InteractiveWidget
Inheritance
Calendar
Inherited Members
Extension Methods

Constructors

Calendar()

Initializes a new instance of the Calendar class.

Calendar(DateTime)

Initializes a new instance of the Calendar class.

Properties

DateTime

Gets or sets the datetime displayed on the calendar.

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.

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

FocusLost

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