Version

ComboKeyActionMapping Constructor

Constructor
Syntax
'Declaration
 
Public Function New( _
   ByVal keyCode As Keys, _
   ByVal actionCode As UltraComboAction, _
   ByVal stateDisallowed As UltraComboState, _
   ByVal stateRequired As UltraComboState, _
   ByVal specialKeysDisallowed As Infragistics.Win.SpecialKeys, _
   ByVal specialKeysRequired As Infragistics.Win.SpecialKeys _
)
public ComboKeyActionMapping( 
   Keys keyCode,
   UltraComboAction actionCode,
   UltraComboState stateDisallowed,
   UltraComboState stateRequired,
   Infragistics.Win.SpecialKeys specialKeysDisallowed,
   Infragistics.Win.SpecialKeys specialKeysRequired
)

Parameters

keyCode
Indicates the key being mapped.
actionCode
The action to perform.
stateDisallowed
The disallowed states. These are bit flags that specify the state that the control MUST NOT be in for this mapping to be active. If the current state of the control has any of these bits turned on this mapping will be ignored.
stateRequired
The required states. These are bit flags that specify the state that the control MUST be in for this mapping to be active.
specialKeysDisallowed
The special keys that are NOT allowed. If shift, ctrl or alt are pressed and their corresponding bit is turned on in this property the mapping will be ignored.
specialKeysRequired
The special keys that are required. These keys (any combination of shift/control/alt) MUST be pressed. Otherwise, this mapping will be ignored.
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