'Declaration Public Event InvalidChar As EditorWithMask.InvalidCharEventHandler
public event EditorWithMask.InvalidCharEventHandler InvalidChar
The event handler receives an argument of type InvalidCharEventArgs containing data related to this event. The following InvalidCharEventArgs properties provide information specific to this event.
Property | Description |
---|---|
Beep | you can set this property to false to prevent the masked edit from beeping. |
Char | gets the invalid char that the user attempted to input |
DisplayChar | gets the display char instance associated with the illegal char input |
Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, 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