Version

KeyActionMapping Constructor

KeyActionMapping object constructor
Syntax
'Declaration
 
Public Function New( _
   ByVal keyCode As Keys, _
   ByVal actionCode As UltraWeekViewAction, _
   ByVal stateDisallowed As UltraWeekViewState, _
   ByVal stateRequired As UltraWeekViewState, _
   ByVal specialKeysDisallowed As Infragistics.Win.SpecialKeys, _
   ByVal specialKeysRequired As Infragistics.Win.SpecialKeys _
)
public KeyActionMapping( 
   Keys keyCode,
   UltraWeekViewAction actionCode,
   UltraWeekViewState stateDisallowed,
   UltraWeekViewState stateRequired,
   Infragistics.Win.SpecialKeys specialKeysDisallowed,
   Infragistics.Win.SpecialKeys specialKeysRequired
)

Parameters

keyCode
The System.Windows.Forms.Keys for which this action is to be mapped
actionCode
The UltraWeekViewAction to perform when the keystroke is received
stateDisallowed
The UltraWeekViewState representing conditions that must not be true in order for the action to be performed
stateRequired
The UltraWeekViewState representing conditions that must be true in order for the action to be performed
specialKeysDisallowed
The special keys (such as ALT, CTRL or SHIFT) that can not be pressed in order for the action to be performed
specialKeysRequired
The special keys (such as ALT, CTRL or SHIFT) that must be pressed in order for the action to be performed
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