ClassToLowerTokenValidationRule
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 ToLowerTokenValidationRule : IModifierTokenValidationRule, ITokenValidationRule
Inheritance: objectToLowerTokenValidationRule
Implements:
Constructors
ToLowerTokenValidationRule()
Declaration
cs-api-definition
public ToLowerTokenValidationRule()
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
ApplyFormatTo(string)
Applies format to text.
IsValid(char)
Checks whether a given char is valid against this token rule.