MobileForms Toolkit Documentation

MaskedTextBox.MaskInputRejected Event

Occurs when the user's input or assigned character does not match the corresponding format element of the input mask.

public event MaskInputRejectedEventHandler MaskInputRejected;

Event Data

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.

Remarks

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.

See Also

MaskedTextBox Class | Resco.Controls.MaskedTextBox Namespace