Version

OnInvalidOperation Method

Fires InvalidOperation error. This method is usually called when user performs an action that does not apply to current state of the masked edit control.
Syntax
'Declaration
 
Protected Overridable Sub OnInvalidOperation( _
   ByVal e As Infragistics.Win.UltraWinMaskedEdit.InvalidOperationEventArgs _
) 
protected virtual void OnInvalidOperation( 
   Infragistics.Win.UltraWinMaskedEdit.InvalidOperationEventArgs e
)

Parameters

e
The Infragistics.Win.UltraWinMaskedEdit.InvalidOperationEventArgs providing event information.
Remarks
For example, when user presses Left arrow key when the caret is already at the begining of the text, this method will be called and InvalidOperation event will be fired. You can override this method or hook into InvalidOperation to alter the default masked edit behavior which is to beep.
Requirements

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

See Also