Property ValidationState
- Namespace
- Skyline.DataMiner.Automation
- Assembly
- SLManagedAutomation.dll
ValidationState
Gets or sets a value indicating the validation state.
public UIValidationState ValidationState { get; set; }
Property Value
- UIValidationState
Valid
if the state is valid;Invalid
if the state is invalid; otherwiseNotValidated
.
Remarks
The ValidationState and ValidationText properties should be used in combination with the WantsOnChange property. If WantsOnChange is true
, the interactive Automation script will have its ShowUI(string) method return each time the user input changes. This will also be indicated by the _ONCHANGE key, which is returned in the UIResults. This functionality will allow you to offer clear feedback on user input.
The following table gives an overview of which input controls support which properties:
IsRequired | PlaceholderText | ValidationText | |
---|---|---|---|
TextBox | X | X | X |
PasswordBox | X | X | X |
DropDown | X | X | X |
Numeric | X | X | X |
Calendar (both Date and Time) | X | X | |
FileSelector | X |
Feature introduced in DataMiner 10.0.5 (RN 25183, RN 25253).