Click or drag to resize
ValidationRuleDefinition Class
Definition of a registered form component validation rule.
Inheritance Hierarchy
SystemObject
  Kentico.Content.Web.MvcComponentDefinitionBase
    Kentico.Forms.Web.MvcValidationRuleDefinition

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 13.0.131
Syntax
C#
public class ValidationRuleDefinition : ComponentDefinitionBase, 
	IFormBuilderDefinition, IComponentDefinition

The ValidationRuleDefinition type exposes the following members.

Constructors
  NameDescription
Public methodValidationRuleDefinition
Initializes a new instance of the ValidationRuleDefinition class using given identifier, form component validation rule type and name.
Top
Properties
  NameDescription
Public propertyDescription
Gets or sets the description of the form component validation rule.
Public propertyIdentifier
Unique identifier of the component definition.
(Inherited from ComponentDefinitionBase.)
Public propertyName
Name of the registered component.
(Inherited from ComponentDefinitionBase.)
Public propertyValidatedDataType
Value type, which this validation rule is supposed to validate.
Public propertyValidationRuleType
Gets the type of the form component validation rule. The type inherits ValidationRule.
Top
See Also