Version

KeyActionMappings Property (UltraMaskedEdit)

Gives you the ability to reconfigure the way the control responds to user keystrokes.
Syntax
'Declaration
 
Public ReadOnly Property KeyActionMappings As Infragistics.Win.UltraWinMaskedEdit.KeyActionMappings
public Infragistics.Win.UltraWinMaskedEdit.KeyActionMappings KeyActionMappings {get;}
Remarks

The KeyActionMappings property provides access to the control's mechanism for handling keyboard input from users. All keystrokes for actions such as selection, navigation and editing are stored in a table-based system that you can examine and modify using this property. Through the KeyActionsMappings property, you can customize the keyboard layout of the control to match your own standards for application interactivity.

For example, if you wanted users to be able to navigate between cells by pressing the F8 key, you could add this behavior. You can specify the key code and any special modifier keys associated with an action, as well as determine whether a key mapping applies in a given context.

The following table lists the default key mappings for the UltraMaskedEdit control:

KeyCode ActionCode StateRequired StateDisallowed SpecialKeysRequired SpecialKeysDisallowed
Right NextCharacter Character Ctrl
Right NextSection Character LastSection Ctrl
Right AfterLastCharacter LastSection Ctrl
Right SetPivot UnInitialized Shift
Left PrevCharacter FirstCharacter Ctrl
Left PrevSection FirstSection Ctrl
Left FirstCharacter FirstSection FirstCharacter Ctrl
Left SetPivot UnInitialized Shift
Home FirstCharacter FirstCharacter
Home SetPivot UnInitialized Shift
End AfterLastCharacter AfterLastCharacter
End SetPivot UnInitialized Shift
Tab NextSection Character, TabBySections LastSection Shift
Tab SetPivot Character, TabBySections LastSection Shift
Tab SelectSection Character, TabBySections LastSection Shift
Tab PrevSection TabBySections FirstSection Shift
Tab SetPivot TabBySections FirstSection Shift
Tab SelectSection TabBySections FirstSection Shift
Delete Delete Selected Shift
Delete Delete Character Selected Shift
Delete Backspace Selected Shift Ctrl
Delete AfterLastCharacter Character Selected Ctrl Shift
Delete Delete Character Selected Ctrl Shift
Back Backspace Selected
Back Backspace FirstCharacter, Selected
C Copy Selected Ctrl
X Cut Selected Ctrl
V Paste Ctrl
Insert ToggleInsertionMode ShiftCtrl
Up UpKeyAction UnInitialized
Down DownKeyAction UnInitialized
Insert Copy Selected UnInitialized Ctrl Shift
Insert Paste UnInitialized Shift Ctrl
Delete Cut Selected UnInitialized Shift Ctrl

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