KeyBindings Collection Members
See Also

KeyBindings Collection Members
Public Methods
Add
AddShortcut
Delete
DeleteAll
DeleteAll method removes all keybindings that have been added with the Add method.
FindShortcut
SetKeyNameText
| Method | Description |
|---|---|
| Add | Adds a key binding (accelerator key) for a command. Allows keys in String format. |
| Delete | Deletes a key binding (accelerator key) for a command. |
| FindShortcut | Returns a shortcut for the specified command. |
| SetKeyNameText | Set a custom string description to localize a shortcut key text description. |
Public Properties
AllowDoubleKeyShortcuts
Count
DisableOnCapture
EnableCustomShortcutText
Enabled
Shortcut
UseSystemKeyNameText
| Property | Description |
|---|---|
| AllowDoubleKeyShortcuts | Enables or disables the use of double key shortcuts (i.e. Ctrl+O, Ctrl+P). |
| Count | Total number of keybindings. |
| DisableOnCapture | Specifies whether the command bars will process keybindings while another control is capturing input. |
| EnableCustomShortcutText | Enables/disables shortcut usage. |
| Shortcut | Collection of shortcut items. |
| UseSystemKeyNameText | Gets/sets whether system localized shortcut text will be used for shortcuts. |
Events
BeforeAdd
BeforeRemove
BeforeTranslate
| Event | Description |
|---|---|
| BeforeAdd | Occurs when a shortcut key binding is added to a command using the command bars customization dialog. |
| BeforeRemove | Occurs when a shortcut key binding is removed from a command using the command bars customization dialog. |
| BeforeTranslate | Occurs when a shortcut key binding/accelerator is used. |
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.