Class MaxLengthValidationRuleProperties
Configuration properties for MaxLengthValidationRule.
public sealed class MaxLengthValidationRuleProperties : ValidationRuleProperties
- Inheritance
-
objectMaxLengthValidationRuleProperties
- Inherited Members
- Extension Methods
Properties
MaxLength
Gets or sets the maximum length to validate against.
public int MaxLength { get; set; }
Property Value
- int
Methods
GetDescriptionText(ILocalizationService)
Label describing the validation rule and its properties.
public override string GetDescriptionText(ILocalizationService localizationService)
Parameters
localizationService
ILocalizationService
Returns
- string