MaximumLengthValidationRule Methods |
The MaximumLengthValidationRule type exposes the following members.
Name | Description | |
---|---|---|
GetTitle |
Gets a title for this instance of validation rule such as 'Maximum length is 100'.
(Overrides ValidationRuleGetTitle.) | |
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 the form component's value and returns true if it is shorter or equal to the MaximumLength.
(Overrides ValidationRuleTValueValidate(TValue).) |