Table of Contents

Class AutomationDateTimeUpDownOptions

Namespace
Skyline.DataMiner.Automation
Assembly
SLNetTypes.dll

This class allows you to create an up-down control to select a date and time in an interactive Automation script.

public class AutomationDateTimeUpDownOptions : AutomationConfigOptions
Inheritance
AutomationDateTimeUpDownOptions
Derived
Inherited Members
Extension Methods

Examples

UIBlockDefinition blockDateTimeUpDownDefault = new UIBlockDefinition();
blockDateTimeUpDownDefault.Type = UIBlockType.Time;
AutomationDateTimeUpDownOptions configOptionsDateTimeUpDownDefault = new AutomationDateTimeUpDownOptions();
blockDateTimeUpDownDefault.ConfigOptions = configOptionsDateTimeUpDownDefault;

Remarks

note

If the name of a variable starts with the following prefix, IntelliSense in DataMiner Cube will list the object properties: dateTimeUpDownConfig*

Constructors

AutomationDateTimeUpDownOptions()

Initializes a new instance of the AutomationDateTimeUpDownOptions class.

Properties

AllowSpin

Gets or sets a value indicating whether to enable the spinner button.

ClipValueToMinMax

Gets or sets a value indicating whether to clip the value to the minimum and maximum.

DEFAULT_ALLOW_SPINNER

Gets the default value for the AllowSpin property.

DEFAULT_CLIPVALUE_TOMINMAX

Gets the default value for the ClipValueToMinMax property.

DEFAULT_FORMAT

Gets the default value for the Format property.

DEFAULT_FORMATSTRING

Gets the default value for the FormatString property.

DEFAULT_KIND

Gets the default value for the Kind property.

DEFAULT_MAXIMUM

Gets the default value for the Maximum property.

DEFAULT_MINIMUM

Gets the default value for the Minimum property.

DEFAULT_SHOW_BUTTONSPINNER

Gets the default value for the ShowButtonSpinner property.

DEFAULT_VALUE_ON_ENTERKEY

Gets the default value for the UpdateValueOnEnterKey property.

Format

Gets or sets the date and time format used by the date-time up-down control.

FormatString

Gets or sets the date-time format to be used by the control when Format is set to 'Custom'.

Kind

Gets or sets the DateTimeKind (.NET) used by the datetime up-down control.

Maximum

Gets or sets the maximum timestamp.

Minimum

Gets or sets the minimum timestamp.

ShowButtonSpinner

Gets or sets a value indicating whether to show the spinner button.

UpdateValueOnEnterKey

Gets or sets a value indicating whether to enable the option to trigger an update with the control when the Enter key is pressed.

Methods

CreateInstanceFromDataString(string)

Creates an instance from the specified data string.

GetOptionsAsString(bool)

Gets the options as a string.

SetDefaultOptions()

Sets the default options.

SetNewValueOnPropertySucceeded(string, string)

Sets the specified property to the specified value.

ToString()

Returns a string that represents the current object.