Table of Contents

Class MinLengthValidationRuleProperties

Namespace
Kentico.Xperience.Admin.Base.Forms
Assembly
Kentico.Xperience.Admin.Base.dll

Configuration properties for MinLengthValidationRule.

public sealed class MinLengthValidationRuleProperties : ValidationRuleProperties
Inheritance
object
MinLengthValidationRuleProperties
Inherited Members
Extension Methods

Constructors

MinLengthValidationRuleProperties()

public MinLengthValidationRuleProperties()

Properties

MinLength

Gets or sets the minimum length to validate against.

[NumberInputComponent(Label = "{$base.forms.validationrule.minimumlength.name$}")]
public int MinLength { 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