Daniel's XL Toolbox NG
XLToolbox.Keyboard.Shortcut Class Reference

Keyboard shortcut for a XL Toolbox command. More...

Public Member Functions

 Shortcut ()
 
 Shortcut (string keySequence, Command command)
 
void Register ()
 
void Unregister ()
 
override string ToString ()
 

Protected Member Functions

void Validate ()
 

Properties

Command Command [get, set]
 Gets or sets the XLToolbox.Command associated with the KeySequence. More...
 
string KeySequence [get, set]
 Gets or sets the technical representation of a key sequence in Excel. More...
 
bool CanHaveShortcut [get]
 
string HumanKeySequence [get]
 Gets a human-readable representation of the key sequence. More...
 
bool IsValid [get]
 

Detailed Description

Keyboard shortcut for a XL Toolbox command.

Constructor & Destructor Documentation

◆ Shortcut() [1/2]

XLToolbox.Keyboard.Shortcut.Shortcut ( )
inline

◆ Shortcut() [2/2]

XLToolbox.Keyboard.Shortcut.Shortcut ( string  keySequence,
Command  command 
)
inline

Member Function Documentation

◆ Register()

void XLToolbox.Keyboard.Shortcut.Register ( )
inline

◆ ToString()

override string XLToolbox.Keyboard.Shortcut.ToString ( )
inline

◆ Unregister()

void XLToolbox.Keyboard.Shortcut.Unregister ( )
inline

◆ Validate()

void XLToolbox.Keyboard.Shortcut.Validate ( )
inlineprotected

Property Documentation

◆ CanHaveShortcut

bool XLToolbox.Keyboard.Shortcut.CanHaveShortcut
get

◆ Command

Command XLToolbox.Keyboard.Shortcut.Command
getset

Gets or sets the XLToolbox.Command associated with the KeySequence.

◆ HumanKeySequence

string XLToolbox.Keyboard.Shortcut.HumanKeySequence
get

Gets a human-readable representation of the key sequence.

◆ IsValid

bool XLToolbox.Keyboard.Shortcut.IsValid
get

◆ KeySequence

string XLToolbox.Keyboard.Shortcut.KeySequence
getset

Gets or sets the technical representation of a key sequence in Excel.

Modifiers:

  • ^CONTROL
  • +SHIFT
  • %ALT

The documentation for this class was generated from the following file: