Click or drag to resize
MaximumIntValueValidationRule Class
Rule validates that user input value is not greater than specified value. Variant for Int32 value types.
Inheritance Hierarchy
SystemObject
  Kentico.Forms.Web.MvcValidationRule
    Kentico.Forms.Web.MvcValidationRuleInt32
      Kentico.Forms.Web.MvcMaximumIntValueValidationRule

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 MaximumIntValueValidationRule : ValidationRule<int>

The MaximumIntValueValidationRule type exposes the following members.

Constructors
  NameDescription
Public methodMaximumIntValueValidationRule
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 propertyMaximumValue
Maximum value user input is validated against.
Public propertyTitle
Gets a title for this instance of validation rule.
(Inherited from ValidationRule.)
Top
Methods
See Also