Occurs when the input character or text does not comply with the mask specification.
The event handler receives an argument of type System.Windows.Forms.MaskInputRejectedEventArgs containing data related to this event. The following MaskInputRejectedEventArgs properties provide information specific to this event.
| Property | Description |
|---|
| Position | Gets the position in the mask corresponding to the invalid input character. |
| RejectionHint | Gets an enumerated value that describes why the input character was rejected. |