Class ValidationRuleConfiguration
Encapsulates ValidationRuleProperties with its Kentico.Xperience.Admin.Base.Forms.ValidationRuleDefinition identifier.
[JsonConverter(typeof(ValidationRuleConfigurationConverter))]
public sealed class ValidationRuleConfiguration
- Inheritance
-
objectValidationRuleConfiguration
- Extension Methods
Constructors
ValidationRuleConfiguration()
Initializes a new instance of the ValidationRuleConfiguration class.
public ValidationRuleConfiguration()
Properties
Identifier
Unique identifier of the validation rule configuration.
public string Identifier { get; }
Property Value
- string
RuleValues
Configured values of the validation rule.
public ValidationRuleProperties RuleValues { get; set; }
Property Value
- See Also
ValidationRuleIdentifier
Validation rule identifier provided when registering validation rule with RegisterFormValidationRuleAttribute attribute.
public string ValidationRuleIdentifier { get; set; }
Property Value
- string