Class ValidationRuleClientProperties
Defines client properties which are common to all validation rules.
public abstract class ValidationRuleClientProperties
- Inheritance
-
objectValidationRuleClientProperties
- Derived
- Extension Methods
Properties
ErrorMessage
Gets or sets the validation error message to be rendered as a result of server-side validation.
public string ErrorMessage { get; set; }
Property Value
- string
Remarks
The system populates this property after validation is triggered.
IsValid
Gets or sets the value indicating whether server-side validation passed. The default value is true.
public bool IsValid { get; set; }
Property Value
- bool
Remarks
The system populates this property after validation is triggered.
RuleName
Gets or sets the name of the client rule.
public string RuleName { get; }
Property Value
- string