Class MaxLengthValidationRuleProperties
Configuration properties for MaxLengthValidationRule.
public sealed class MaxLengthValidationRuleProperties : ValidationRuleProperties
- Inheritance
-
objectMaxLengthValidationRuleProperties
- Inherited Members
- Extension Methods
Constructors
MaxLengthValidationRuleProperties()
public MaxLengthValidationRuleProperties()
Properties
MaxLength
Gets or sets the maximum length to validate against.
[NumberInputComponent(Label = "{$base.forms.validationrule.maximumlength.name$}")]
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