Click or drag to resize
EmailValidationRule Class
Rule used to validate email addresses.
Inheritance Hierarchy
SystemObject
  Kentico.Forms.Web.MvcValidationRule
    Kentico.Forms.Web.MvcValidationRuleString
      Kentico.Forms.Web.MvcEmailValidationRule

Namespace: Kentico.Forms.Web.Mvc
Assembly: Kentico.Content.Web.Mvc (in Kentico.Content.Web.Mvc.dll) Version: 12.0.0
Syntax
C#
[SerializableAttribute]
public class EmailValidationRule : ValidationRule<string>

The EmailValidationRule type exposes the following members.

Constructors
  NameDescription
Public methodEmailValidationRule
Top
Properties
  NameDescription
Public propertyErrorMessage
Gets or sets the error message to be shown when the form component's value is invalid.
(Inherited from ValidationRule.)
Public propertyInstanceIdentifier
Gets or sets identifier of the validation rule instance.
(Inherited from ValidationRule.)
Public propertyTitle
Gets a title for this instance of validation rule.
(Inherited from ValidationRule.)
Top
Methods
See Also