Table of Contents

Class MinimumIntegerValueValidationRuleAttribute

Namespace
Kentico.Xperience.Admin.Base.FormAnnotations
Assembly
Kentico.Xperience.Admin.Base.Shared.dll

Validation rule attribute to validate whether value satisfies the minimum value.

public sealed class MinimumIntegerValueValidationRuleAttribute : ValidationRuleAttribute
Inheritance
object
Attribute
MinimumIntegerValueValidationRuleAttribute
Inherited Members
Extension Methods

Remarks

Error message defined by ErrorMessage supports substitution macro {0} in the error message text. The substitution macro will be replaced by MinValue value;

Constructors

MinimumIntegerValueValidationRuleAttribute(int)

public MinimumIntegerValueValidationRuleAttribute(int minValue)

Parameters

minValue int

Minimal value.

Properties

MinValue

Minimal value.

public int MinValue { get; }

Property Value

int