DecimalNumericCompareToFieldValidationRule Class |
Namespace: Kentico.Forms.Web.Mvc
[SerializableAttribute] public class DecimalNumericCompareToFieldValidationRule : NumericCompareToFieldValidationRule<decimal>
The DecimalNumericCompareToFieldValidationRule type exposes the following members.
Name | Description | |
---|---|---|
DecimalNumericCompareToFieldValidationRule |
Name | Description | |
---|---|---|
ComparisonType |
Determines which type of comparison is used.
(Inherited from NumericCompareToFieldValidationRuleTValue.) | |
DependeeFieldGuid |
GUID of the field validated against.
(Inherited from CompareToFieldValidationRuleTValue.) | |
DependeeFieldValue |
Gets strongly typed value of the field validated against.
(Inherited from CompareToFieldValidationRuleTValue.) | |
ErrorMessage |
Gets or sets the error message to be shown when the form component's value is invalid.
(Inherited from ValidationRule.) | |
InstanceIdentifier |
Gets or sets identifier of the validation rule instance.
(Inherited from ValidationRule.) | |
Title |
Gets a title for this instance of validation rule.
(Inherited from ValidationRule.) |
Name | Description | |
---|---|---|
GetTitle |
Gets a title for this instance of validation rule.
(Inherited from NumericCompareToFieldValidationRuleTValue.) | |
IsValueValid |
Validates the form component's value and returns true if the value is valid.
This method is used by system.
(Inherited from ValidationRuleTValue.) | |
ModifyMetadata |
Modifies modelMetadata according to the current object.
(Inherited from ValidationRule.) | |
Validate |
Validates that the values are in specified relationship.
(Inherited from NumericCompareToFieldValidationRuleTValue.) |