PromptPlus HotKeys
The hotkeys for each control can be globally or for each instance. Valid values for shortcut keys range from F1 to F12 and can be combined with Modifiers Shift, Alt and Control.
Attention: conflict analysis is not carried out (same hotkey for different actions), so choose constomizations carefully to avoid unwanted behavior
Table of Contents
Default HotKeys
- HotKey.TooltipDefault : F1
- HotKey.CalendarSwitchNotes : F2
- HotKey.PasswordViewDefault : F2
- HotKey.SelectAllDefault : F2
- HotKey.EditItemDefault : F2
- HotKey.ChartBarSwitchType : F2
- HotKey.ToggleExpandNode : F3
- HotKey.InvertSelectedDefault : F3
- HotKey.RemoveItemDefault : F3
- HotKey.ChartBarSwitchLegend : F3
- HotKey.ChartBarSwitchOrder : F4
- HotKey.ToggleExpandAllNodeDefault : F4
- HotKey.ToggleExpandAllNodeDefault : F4
Global HotKeys
To set Global HotKeys use : PromptPlus.Config.[Property-Hotkey]. Example :
PromptPlus.Config.PasswordViewPress = new HotKey(UserHotKey.F7)
Properties Hotkeys
- TooltipKeyPress
- PasswordViewPress
- SelectAllPress
- InvertSelectedPress
- EditItemPress
- RemoveItemPress
- FullPathPress
- ToggleExpandPress
- ToggleExpandAllPress
- ChartBarSwitchTypePress
- ChartBarSwitchLegendPress
- ChartBarSwitchOrderPress
- CalendarSwitchNotesPress
Instance Hotkeys
For each control has methods to change hotkey. Use : [control].[Method](HotKey(UserKey,[Shift],[Alt],[Ctrl])). Example :
PromptPlus
.Input("Input secret sample2")
.IsSecret()
.EnabledViewSecret(new HotKey(UserHotKey.F7))
.Run();
Input Controls
- EnabledViewSecret
AddtoList
- HotKeyEditItem
- HotKeyRemoveItem
AddtoMaskEditList Controls
- HotKeyEditItem
- HotKeyRemoveItem
MultiSelect Controls
- HotKeySelectAll
- HotKeyInvertSelected
BrowserMultiSelect Controls
- HotKeyFullPath
- HotKeyToggleExpand
- HotKeyToggleExpandAll
Browser Controls
- HotKeyFullPath
- HotKeyToggleExpand
- HotKeyToggleExpandAll
TreeViewMultiSelect Controls
- HotKeyFullPath
- HotKeyToggleExpand
- HotKeyToggleExpandAll
TreeView Controls
- HotKeyFullPath
- HotKeyToggleExpand
- HotKeyToggleExpandAll
ChartBar Controls
- HotKeySwitchType
- HotKeySwitchLegend
Calendar Controls
- HotKeySwitchNotes