MobileForms Toolkit Documentation

MaskedTextProvider.VerifyChar Method 

Tests whether the specified character could be set successfully at the specified position.

public virtual bool VerifyChar(
char input,
int position
);

Parameters

input
The Char value to test.
position
The position in the mask to test the input character against.

Return Value

true if the specified character is valid for the specified position; otherwise, false.

Remarks

The VerifyChar method tests whether a single character value represents valid input at the specified position in the formatted string.

To test an entire input string against the mask, use one of the VerifyString methods instead.

See Also

MaskedTextProvider Class | Resco.Controls.MaskedTextBox Namespace