Version

PerformKeyAction Method (UltraGridUIElement)

Performs a specific key action
Syntax
'Declaration
 
Protected Overrides Function PerformKeyAction( _
   ByVal actionCode As Enum, _
   ByVal shiftKeyDown As Boolean, _
   ByVal ctlKeyDown As Boolean _
) As Boolean
protected override bool PerformKeyAction( 
   Enum actionCode,
   bool shiftKeyDown,
   bool ctlKeyDown
)

Parameters

actionCode
An enumeration value that determines the user action to be performed.
shiftKeyDown
A boolean specifies whether the action should be performed as if the shift key is depressed. This mainly affects actions where selection is involved and determines if the existing selection is extended, as it is when the user holds down the shift key and selects a range of rows in a grid.
ctlKeyDown
A boolean specifies whether the action should be performed as if the control key is depressed. This mainly affects actions where selection is involved and determines if the existing selection is maintained, as it is when the user holds down the control key and selects a row in a grid.

Return Value

true if the action completed successfully, false if the action failed.
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