'Declaration Public Event InvalidOperation As EditorWithMask.InvalidOperationEventHandler
public event EditorWithMask.InvalidOperationEventHandler InvalidOperation
The event handler receives an argument of type InvalidOperationEventArgs containing data related to this event. The following InvalidOperationEventArgs properties provide information specific to this event.
Event that is fired when user performs an action that can not be executed because the state of the control (caret position, selection and other properties) does not allow it. For example, when the user presses left arrow key when caret is already at the first display character in the MaskedEdit, the left arrow key action (which is to move the caret to previous display character) can not be performed. In this case such an action is cosidered an invalid operation and this event is fired.
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