Class StringLengthValidatorAttribute
Inherited Members
Namespace: Telerik.Maui.Controls.Compatibility.Common.DataAnnotations
Assembly: Telerik.Maui.Controls.Compatibility.dll
Syntax
public class StringLengthValidatorAttribute : ValidatorBaseAttribute, IPropertyValidator
Constructors
StringLengthValidatorAttribute(Int32, Int32)
Declaration
public StringLengthValidatorAttribute(int minLength, int maxLength)
Parameters
System.Int32
minLength
|
System.Int32
maxLength
|
StringLengthValidatorAttribute(Int32, Int32, String, String)
Declaration
public StringLengthValidatorAttribute(int minLength, int maxLength, string negativeFeedback, string positiveFeedback = null)
Parameters
System.Int32
minLength
|
System.Int32
maxLength
|
System.String
negativeFeedback
|
System.String
positiveFeedback
|
Properties
MaxLength
Declaration
public int MaxLength { get; protected set; }
Property Value
System.Int32
|
MinLength
Declaration
public int MinLength { get; protected set; }
Property Value
System.Int32
|
Methods
ValidateCore(Object)
Declaration
protected override bool ValidateCore(object value)
Parameters
System.Object
value
|
Returns
System.Boolean
|