Skip to the content.

PromptPlus API:HotKey

Build Publish License NuGet Downloads

Back to List Api

HotKey

Namespace: PPlus.Controls

Represents the HotKey to control

public struct HotKey

Inheritance ObjectValueTypeHotKey
Implements IEquatable<ConsoleKeyInfo>

Properties

CalendarSwitchNotes

Get HotKey default for Calendar SwitchNotes ‘F2’

public static HotKey CalendarSwitchNotes { get; }

Property Value

HotKey

ChartBarSwitchLayout

Get HotKey default for ChartBar Switch Layout ‘F2’

public static HotKey ChartBarSwitchLayout { get; }

Property Value

HotKey

ChartBarSwitchLegend

Get HotKey default for ChartBar Switch Legend ‘F3’

public static HotKey ChartBarSwitchLegend { get; }

Property Value

HotKey

ChartBarSwitchOrder

Get HotKey default for ChartBar Switch Order ‘F4’

public static HotKey ChartBarSwitchOrder { get; }

Property Value

HotKey

EditItemDefault

Get HotKey default for Edit Item ‘F2’

public static HotKey EditItemDefault { get; }

Property Value

HotKey

InvertSelectedDefault

Get HotKey default for Invert Selected ‘F3’

public static HotKey InvertSelectedDefault { get; }

Property Value

HotKey

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

HotKey

RemoveItemDefault

Get HotKey default for Remove item ‘F3’

public static HotKey RemoveItemDefault { get; }

Property Value

HotKey

SelectAllDefault

Get HotKey default for Select All ‘F2’

public static HotKey SelectAllDefault { get; }

Property Value

HotKey

ToggleExpandAllNodeDefault

Get HotKey default for expand node ‘F4’

public static HotKey ToggleExpandAllNodeDefault { get; }

Property Value

HotKey

ToggleExpandNodeDefault

Get HotKey default for expand node ‘F3’

public static HotKey ToggleExpandNodeDefault { get; }

Property Value

HotKey

TooltipDefault

Get HotKey default for Tooltip ‘F1’

public static HotKey TooltipDefault { get; }

Property Value

HotKey

TooltipFullPathDefault

Get HotKey default for Tooltip FullPath ‘F2’

public static HotKey TooltipFullPathDefault { get; }

Property Value

HotKey

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()

Returns

String


Back to List Api