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. |
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2