Version

PerformKeyAction Method

Called when a key to which an action is mapped is pressed by the end user.
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
The UltraRadialMenuAction constant which identifies the action to perform.
shiftKeyDown
Specifies whether the Shift key was pressed at the time this method was called.
ctlKeyDown
Specifies whether the Control key was pressed at the time this method was called.

Return Value

A boolean indicating whether the action was successfully performed; a return value of true signifies success.
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