PromptPlus API:HotKey
HotKey
Namespace: PPlus.Controls
Represents the HotKey to control
public struct HotKey
Inheritance Object → ValueType → HotKey
Implements IEquatable<ConsoleKeyInfo>
Properties
CalendarSwitchNotes
Get HotKey default for Calendar SwitchNotes ‘F2’
public static HotKey CalendarSwitchNotes { get; }
Property Value
ChartBarSwitchLayout
Get HotKey default for ChartBar Switch Layout ‘F2’
public static HotKey ChartBarSwitchLayout { get; }
Property Value
ChartBarSwitchLegend
Get HotKey default for ChartBar Switch Legend ‘F3’
public static HotKey ChartBarSwitchLegend { get; }
Property Value
ChartBarSwitchOrder
Get HotKey default for ChartBar Switch Order ‘F4’
public static HotKey ChartBarSwitchOrder { get; }
Property Value
EditItemDefault
Get HotKey default for Edit Item ‘F2’
public static HotKey EditItemDefault { get; }
Property Value
InvertSelectedDefault
Get HotKey default for Invert Selected ‘F3’
public static HotKey InvertSelectedDefault { get; }
Property Value
KeyInfo
Get to HotKey
public ConsoleKeyInfo KeyInfo { get; }
Property Value
ConsoleKeyInfo
PasswordViewDefault
Get HotKey default for PasswordView ‘F2’
public static HotKey PasswordViewDefault { get; }
Property Value
RemoveItemDefault
Get HotKey default for Remove item ‘F3’
public static HotKey RemoveItemDefault { get; }
Property Value
SelectAllDefault
Get HotKey default for Select All ‘F2’
public static HotKey SelectAllDefault { get; }
Property Value
ToggleExpandAllNodeDefault
Get HotKey default for expand node ‘F4’
public static HotKey ToggleExpandAllNodeDefault { get; }
Property Value
ToggleExpandNodeDefault
Get HotKey default for expand node ‘F3’
public static HotKey ToggleExpandNodeDefault { get; }
Property Value
TooltipDefault
Get HotKey default for Tooltip ‘F1’
public static HotKey TooltipDefault { get; }
Property Value
TooltipFullPathDefault
Get HotKey default for Tooltip FullPath ‘F2’
public static HotKey TooltipFullPathDefault { get; }
Property Value
Constructors
HotKey()
Create a HotKey
HotKey()
Remarks:
Do not use this constructor!
HotKey(UserHotKey, Boolean, Boolean, Boolean)
Create a HotKey
HotKey(UserHotKey key, bool shift, bool alt, bool ctrl)
Parameters
key
UserHotKey
UserHotKey to create
shift
Boolean
With Shift key
alt
Boolean
With Alt key
ctrl
Boolean
With Ctrl key
Methods
Equals(ConsoleKeyInfo)
Checks Hotkey instances are equal the .
bool Equals(ConsoleKeyInfo other)
Parameters
other
ConsoleKeyInfo
The ConsoleKeyInfo to compare.
Returns
true
if the Hotkey are equal, otherwise false
.
ToString()
string ToString()