Table of Contents

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

ModifierKeys ConsoleModifiers
Key char

Properties

CtrlEnter

Gets the keyboard shortcut representing Control + Enter.

public static KeyboardShortcut CtrlEnter { get; }

Property Value

KeyboardShortcut

CtrlS

Gets the keyboard shortcut representing Control + S.

public static KeyboardShortcut CtrlS { get; }

Property Value

KeyboardShortcut

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

KeyboardShortcut

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

char

ModifierKeys

public ConsoleModifiers ModifierKeys { get; init; }

Property Value

ConsoleModifiers

Methods

ToString()

Returns a string that represents the current object.

public override string ToString()

Returns

string

A string that represents the current object.

To top