Occurs when the user's input or assigned character does not match the corresponding format element of the input mask.
The event handler receives an argument of type MaskInputRejectedEventArgs containing data related to this event. The following MaskInputRejectedEventArgs property provides information specific to this event.
| Property | Description |
|---|---|
| Position | Gets the position in the mask corresponding to the invalid input character. |
The MaskInputRejected event occurs when a character is rejected by the input mask. The input mask, represented by the Mask property, is interpreted by the masked text provider associated with the control through the MaskedTextProvider property.
MaskedTextBox Class | Resco.Controls.MaskedTextBox Namespace