The CommandElement type exposes the following members.
Back to Top
Back to Top
Back to Top
Constructors
Name | Description | |
---|---|---|
CommandElement(String, String) |
Initializes a new instance of the CommandElement struct without a tooltip.
| |
CommandElement(String, String, String) |
Initializes a new instance of the CommandElement struct with a tooltip.
| |
CommandElement(String, String, ButtonBase) |
Initializes a new instance of the CommandElement struct
with a ButtonBase.
| |
CommandElement(String, String, ToolStripItem) |
Initializes a new instance of the CommandElement struct
with a ToolStripItem.
| |
CommandElement(String, String, String, ButtonBase) |
Initializes a new instance of the CommandElement struct
with a tooltip and a ButtonBase.
| |
CommandElement(String, String, String, ToolStripItem) |
Initializes a new instance of the CommandElement struct
with a tooltip and a ToolStripItem.
|
Methods
Name | Description | |
---|---|---|
Equals |
Indicates whether this instance and a specified object are equal.
(Inherited from ValueType.) | |
Finalize |
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.) | |
GetHashCode |
Returns the hash code for this instance.
(Inherited from ValueType.) | |
GetType |
Gets the Type of the current instance.
(Inherited from Object.) | |
MemberwiseClone |
Creates a shallow copy of the current Object.
(Inherited from Object.) | |
ToString |
Returns the fully qualified type name of this instance.
(Inherited from ValueType.) |
Properties
Name | Description | |
---|---|---|
CommandDescription |
Gets or sets the command.
| |
CommandToolTip |
Gets or sets
a tooltip to attach to the command description when it is displayed.
| |
Component |
Gets or sets a Component used to render the shortcut.
| |
Shortcut |
Gets or sets a textual representation of the keyboard shortcut for the command, if any.
|
See Also