Represents the numeric token validation rule.
Definition
Namespace:Telerik.Windows.Controls.MaskedInput.Tokens.Numeric
Assembly:Telerik.Windows.Controls.Input.dll
Syntax:
C#
public class NumericNotRequiredTokenValidationRule : INumericTokenValidationRule, ITokenValidationRule
Inheritance: objectNumericNotRequiredTokenValidationRule
Implements:
Constructors
C#
public NumericNotRequiredTokenValidationRule()
Properties
Gets a value indicating whether the token allows precision.
C#
public bool AllowsPrecision { get; }
Implements:
Gets whether the token is required or not.
C#
public bool IsRequired { get; }
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.
The type of the Token.
C#
public TokenTypes Type { get; }
Implements:
Available values for the token.
C#
public string ValidChars { get; }
Implements:
Remarks:
This is used when spinning the value validated against that token.