Represents the character token validation rule.
Any character is valid for this token rule. It is not required.
Definition
Namespace:Telerik.Windows.Controls.MaskedInput.Tokens.Numeric
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
C#
public class CharacterTokenValidationRule : ITokenValidationRule
Inheritance: objectCharacterTokenValidationRule
Implements:
Constructors
C#
public CharacterTokenValidationRule()
Properties
Gets whether the token is required or not.
C#
public bool IsRequired { get; }
Implements:
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.
The type of the Token.
C#
public TokenTypes Type { get; }
Implements:
Available values for the token.
C#
public string ValidChars { get; }
Implements:
This is used when spinning the value validated against that token.