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

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

The MinimumIntValueValidationRule type exposes the following members.

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