ITokenValidationRule
Interface
Represents the validation rule for a token in the mask.
Definition
Namespace:Telerik.Windows.Controls.MaskedInput.Tokens
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
C#
public interface ITokenValidationRule
Derived Classes:
Properties
Gets whether the token is required or not.
C#
bool IsRequired { get; }
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.
The type of the Token.
C#
TokenTypes Type { get; }
Available values for the token.
C#
string ValidChars { get; }
Remarks:
This is used when spinning the value validated against that token.