CommandElement MembersCleanCode C# Libraries v1.2.03 API

The CommandElement type exposes the following members.
Constructors

  NameDescription
Public methodCommandElement(String, String)
Initializes a new instance of the CommandElement struct without a tooltip.
Public methodCommandElement(String, String, String)
Initializes a new instance of the CommandElement struct with a tooltip.
Public methodCommandElement(String, String, ButtonBase)
Initializes a new instance of the CommandElement struct with a OnlineButtonBase.
Public methodCommandElement(String, String, ToolStripItem)
Initializes a new instance of the CommandElement struct with a OnlineToolStripItem.
Public methodCommandElement(String, String, String, ButtonBase)
Initializes a new instance of the CommandElement struct with a tooltip and a OnlineButtonBase.
Public methodCommandElement(String, String, String, ToolStripItem)
Initializes a new instance of the CommandElement struct with a tooltip and a OnlineToolStripItem.
Back to Top
Methods

  NameDescription
Public methodOnlineEquals
Indicates whether this instance and a specified object are equal.
(Inherited from OnlineValueType.)
Protected methodOnlineFinalize
Allows an OnlineObject to attempt to free resources and perform other cleanup operations before the OnlineObject is reclaimed by garbage collection.
(Inherited from OnlineObject.)
Public methodOnlineGetHashCode
Returns the hash code for this instance.
(Inherited from OnlineValueType.)
Public methodOnlineGetType
Gets the OnlineType of the current instance.
(Inherited from OnlineObject.)
Protected methodOnlineMemberwiseClone
Creates a shallow copy of the current OnlineObject.
(Inherited from OnlineObject.)
Public methodOnlineToString
Returns the fully qualified type name of this instance.
(Inherited from OnlineValueType.)
Back to Top
Properties

  NameDescription
Public propertyCommandDescription
Gets or sets the command.
Public propertyCommandToolTip
Gets or sets a tooltip to attach to the command description when it is displayed.
Public propertyComponent
Gets or sets a Component used to render the shortcut.
Public propertyShortcut
Gets or sets a textual representation of the keyboard shortcut for the command, if any.
Back to Top
See Also