Version

KeyActionMapping Constructor

Constructor, initializes a new instance of the KeyActionMapping class.
Syntax
'Declaration
 
Public Function New( _
   ByVal keyCode As Keys, _
   ByVal actionCode As MaskedEditAction, _
   ByVal stateDisallowed As MaskedEditState, _
   ByVal stateRequired As MaskedEditState, _
   ByVal specialKeysDisallowed As SpecialKeys, _
   ByVal specialKeysRequired As SpecialKeys _
)

Parameters

keyCode
System.Windows.Forms.KeysKeyCode to map
actionCode
System.EnumAction code to map to the KeyCode
stateDisallowed
System.Int64These 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
System.Int64These are bit flags that specify the state that the control MUST be in for this mapping to be active. In a derived class this property should be hidden by one that returns an appropriate flagged enum.
specialKeysDisallowed
Infragistics.Win.SpecialKeysThe 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
Infragistics.Win.SpecialKeysThese 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