Class KeyboardShortcut
- Namespace
- Dynamicweb.CoreUI.Actions
- Assembly
- Dynamicweb.CoreUI.dll
public record KeyboardShortcut : IEquatable<KeyboardShortcut>
- Inheritance
-
KeyboardShortcut
- Implements
- Inherited Members
Constructors
KeyboardShortcut(ConsoleModifiers, char)
public KeyboardShortcut(ConsoleModifiers ModifierKeys, char Key)
Parameters
ModifierKeysConsoleModifiersKeychar
Properties
CtrlEnter
Gets the keyboard shortcut representing Control + Enter.
public static KeyboardShortcut CtrlEnter { get; }
Property Value
CtrlS
Gets the keyboard shortcut representing Control + S.
public static KeyboardShortcut CtrlS { get; }
Property Value
Remarks
This shortcut is commonly used for save operations in many applications. Use this property to reference the standard Control + S combination when handling keyboard input or defining shortcut keys.
CtrlShiftS
Gets the keyboard shortcut representing Control+Shift+S.
public static KeyboardShortcut CtrlShiftS { get; }
Property Value
Remarks
This shortcut is commonly used for save and close operations in many applications. Use this property to reference the standard Control + Shift + S combination when handling keyboard input or defining shortcut keys.
Key
public char Key { get; init; }
Property Value
ModifierKeys
public ConsoleModifiers ModifierKeys { get; init; }
Property Value
Methods
ToString()
Returns a string that represents the current object.
public override string ToString()
Returns
- string
A string that represents the current object.