Click or drag to resize
ValidationRuleConfiguration Class
Encapsulates ValidationRule with its ValidationRuleDefinition identifier.
Inheritance Hierarchy
SystemObject
  Kentico.Forms.Web.MvcValidationRuleConfiguration

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
public sealed class ValidationRuleConfiguration

The ValidationRuleConfiguration type exposes the following members.

Constructors
  NameDescription
Public methodValidationRuleConfiguration
Initializes a new instance of the ValidationRuleConfiguration class. This constructor serves for the purpose of deserialization.
Public methodValidationRuleConfiguration(String, ValidationRule)
Initializes a new instance of the ValidationRuleConfiguration class.
Top
Properties
  NameDescription
Public propertyIdentifier
Gets or sets identifier of the ValidationRule.
Public propertyValidationRule
Gets or sets validation rule.
Top
See Also