ClassLetterRequiredTokenValidationRule
Class
Represents the character token validation rule.
Definition
Namespace:Telerik.Windows.Controls.MaskedInput.Tokens.Numeric
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
cs-api-definition
public class LetterRequiredTokenValidationRule : ITokenValidationRule
Inheritance: objectLetterRequiredTokenValidationRule
Implements:
Constructors
LetterRequiredTokenValidationRule()
Declaration
cs-api-definition
public LetterRequiredTokenValidationRule()
Properties
IsRequired
Gets whether the token is required or not.
Declaration
cs-api-definition
public bool IsRequired { get; }
Property Value
Implements
Remarks
If the token is required, then if the position of that token is empty, the validation will fail. If the token is not required, then this position can be left empty.
Token
The char of the Token.
Type
The type of the Token.
ValidChars
Available values for the token.
Declaration
cs-api-definition
public string ValidChars { get; }
Property Value
Implements
Remarks
This is used when spinning the value validated against that token.
Methods
IsValid(char)
Checks whether a given char is valid against this token rule.