Version

PerformAction Method (UltraWinEditorMaskedControlBase)

Simulates user interaction with the control.
Syntax
'Declaration
 
Public Overridable Function PerformAction( _
   ByVal actionCode As Infragistics.Win.UltraWinMaskedEdit.MaskedEditAction, _
   ByVal shift As Boolean, _
   ByVal control As Boolean _
) As Boolean
public virtual bool PerformAction( 
   Infragistics.Win.UltraWinMaskedEdit.MaskedEditAction actionCode,
   bool shift,
   bool control
)

Parameters

actionCode
The Infragistics.Win.UltraWinMaskedEdit.MaskedEditAction that the editor should execute.
shift
Specifies whether the Shift key was pressed.
control
Specifies whether the Ctrl key was pressed.

Return Value

True if the action has completed successfully.
Remarks

Invoke this method to simulate an action the user can perform.

Many actions are only appropriate in certain situations; if an action is inappropriate, it will not be performed.

You can use the CurrentState property to determine the state of the control when the action is about to be performed.

See Infragistics.Win.UltraWinMaskedEdit.MaskedEditAction for a list of actions that can be performed.

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