Table of Contents

Class MaximumDoubleValueValidationRuleAttribute

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

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

public sealed class MaximumDoubleValueValidationRuleAttribute : ValidationRuleAttribute
Inheritance
object
Attribute
MaximumDoubleValueValidationRuleAttribute
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 MaxValue value;

Constructors

MaximumDoubleValueValidationRuleAttribute(double)

public MaximumDoubleValueValidationRuleAttribute(double maxValue)

Parameters

maxValue double

Maximum value.

Properties

MaxValue

Maximum value.

public double MaxValue { get; }

Property Value

double