Version

PerformKeyAction Method (ControlUIElementBase)

Performs the specified action
Syntax
'Declaration
 
Protected Overridable Function PerformKeyAction( _
   ByVal actionCode As Enum, _
   ByVal shiftKeyDown As Boolean, _
   ByVal ctlKeyDown As Boolean _
) As Boolean
protected virtual bool PerformKeyAction( 
   Enum actionCode,
   bool shiftKeyDown,
   bool ctlKeyDown
)

Parameters

actionCode
The action to perform
shiftKeyDown
True to behave as if the shift key is down
ctlKeyDown
True to behave as if the ctl key is down

Return Value

True if the action was performed successfully
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