Click or drag to resize
BoolIsSetValidationRule Class
Rule used to validate that a boolean type component's value (e.g. checkbox) is true.
Inheritance Hierarchy
SystemObject
  Kentico.Forms.Web.MvcValidationRule
    Kentico.Forms.Web.MvcValidationRuleBoolean
      Kentico.Forms.Web.MvcBoolIsSetValidationRule

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

The BoolIsSetValidationRule type exposes the following members.

Constructors
  NameDescription
Public methodBoolIsSetValidationRule
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