Specifies to display a user command with an optional shortcut key,
tooltip, and/or button.
Namespace: CleanCode.GeneralComponents.SupportAssembly: CleanCode.GeneralComponents (in CleanCode.GeneralComponents.dll) Version: 1.2.3.0 (1.2.03)
public struct CommandElement : IDisplayElement
Public Structure CommandElement _
Implements IDisplayElement
public value class CommandElement : IDisplayElement
The shortcut key is a textual description, as in "Ctrl+F".
But you are not limited to referencing keys; you may also reference buttons.
By convention a button labeled "config" is listed as, for example, "Ctrl+'config'".
That named button may or may not avail itself of an associated
ToolStripItem.
See the
DisplayCommandsForm overview for
details of how the variations of
CommandElement
affect the visual rendering.
Since CleanCode 0.9.23.