 
            | Miner.Windows Assembly > Miner.Windows.Commands Namespace : ButtonCommand Class | 
The following tables list the members exposed by ButtonCommand.
| Name | Description | |
|---|---|---|
|  | Bounds | Returns the location and size of the command in screen coordinates. (Inherited from Miner.Windows.Commands.Command) | 
|  | Caption | Returns/sets the caption to be displayed for this Command. (Inherited from Miner.Windows.Commands.Command) | 
|  | Category | Returns/sets the Category to which this Command belongs. (Inherited from Miner.Windows.Commands.Command) | 
|  | CustomizerCaption | Returns/sets a string of text that appears in the run-time Customizer dialog's Commands list. (Inherited from Miner.Windows.Commands.Command) | 
|  | CustomizerDescription | Returns/sets a string of text that is a detailed description of this command in the customizer. (Inherited from Miner.Windows.Commands.Command) | 
|  | DefaultSize | Returns the default size of this command. (Inherited from Miner.Windows.Commands.Command) | 
|  | Description | Returns/sets the description (displayed in status bar) for this Command. (Inherited from Miner.Windows.Commands.Command) | 
|  | DisplayStyle | Returns/sets the display style (DisplayStyle) for this Command. (Inherited from Miner.Windows.Commands.Command) | 
|  | Enabled | Returns/sets whether the Command is enabled. (Inherited from Miner.Windows.Commands.Command) | 
|  | FontBold | Returns/sets the font bold property of the root or instance tool. (Inherited from Miner.Windows.Commands.Command) | 
|  | Height | Returns the height of this command. (Inherited from Miner.Windows.Commands.Command) | 
|  | Image | Returns/sets the image or image index (into the CommandManager's ImageListSmall bitmap strip) for this Command. (Inherited from Miner.Windows.Commands.Command) | 
|  | ImageLarge | Returns/sets the large image or image index (into the CommandManager's ImageListLarge bitmap strip) for this Command. (Inherited from Miner.Windows.Commands.Command) | 
|  | Index | Returns the index of this command in the command manager's Commands collection. (Inherited from Miner.Windows.Commands.Command) | 
|  | IsActiveTool | Returns/sets whether this command is the active command. (Inherited from Miner.Windows.Commands.Command) | 
|  | IsControlContainer | Returns whether this command is a container command that can contain other controls. (Inherited from Miner.Windows.Commands.Command) | 
|  | IsFirstInGroup | Returns/sets whether a separator bar is displayed preceeding this Command. The Command must be an "instance" Command (i.e., a command that appears on a menu or toolbar). (Inherited from Miner.Windows.Commands.Command) | 
|  | IsRootTool | Returns whether this command is a command in the command manager's Commands collection. (Inherited from Miner.Windows.Commands.Command) | 
|  | Key | Returns the unique string identifier for this Command. (Inherited from Miner.Windows.Commands.Command) | 
|  | Persist | Returns/sets whether this command is to be persisted when the application closes (to prevent MDI window commands from being persisted). (Inherited from Miner.Windows.Commands.Command) | 
|  | Priority | Returns/sets a value that determines which tools are shown on a toolbar when there is not enough room (lower priority commands are hidden first). (Inherited from Miner.Windows.Commands.Command) | 
|  | RecentlyUsed | Returns/sets whether the Command is a recently-used Command. The Command must be an "instance" Command (i.e., a command that appears on a menu or toolbar). (Inherited from Miner.Windows.Commands.Command) | 
|  | Shortcut | Returns/sets the keyboard shortcut (accelerator key) for this Command. (Inherited from Miner.Windows.Commands.Command) | 
|  | ShowInCustomizer | Returns/sets whether the Command can be shown in the customizer dialog. (Inherited from Miner.Windows.Commands.Command) | 
|  | Tooltip | Returns/sets the tooltip to be displayed for this Command. (Inherited from Miner.Windows.Commands.Command) | 
|  | Visible | Returns/sets whether the Command is visible. (Inherited from Miner.Windows.Commands.Command) | 
|  | VisibleInstance | Returns whether any CommandBar instance of this tool is currently visible. (Inherited from Miner.Windows.Commands.Command) | 
|  | Width | Returns/sets the width of the Command depending on whether it is a root Command or an "instance" (PopupMenuCommand or CommandBar item) Command. (Inherited from Miner.Windows.Commands.Command) | 
| Name | Description | |
|---|---|---|
|  | Execute | Raises the Click event for this Command. (Inherited from Miner.Windows.Commands.Command) | 
| Name | Description | |
|---|---|---|
|  | OnActivating | Raises the Activating event and provides a method for derived classes to handle the event without attaching a delegate. (Inherited from Miner.Windows.Commands.Command) | 
|  | OnClick | Raises the Click event and provides a method for derived classes to handle the event without attaching a delegate. (Inherited from Miner.Windows.Commands.Command) | 
|  | OnContextMenuOpening | Raises the BeforeShowInContextMenu event and provides a method for derived classes to handle the event without attaching a delegate. (Inherited from Miner.Windows.Commands.Command) | 
|  | OnDeactivated | Raises the Deactivated event and provides a method for derived classes to handle the event without attaching a delegate. (Inherited from Miner.Windows.Commands.Command) | 
|  | OnDoubleClick | Raises the DoubleClick event and provides a method for derived classes to handle the event without attaching a delegate. (Inherited from Miner.Windows.Commands.Command) | 
|  | OnKeyDown | Raises the KeyDown event and provides a method for derived classes to handle the event without attaching a delegate. (Inherited from Miner.Windows.Commands.Command) | 
|  | OnKeyPress | Raises the KeyPress event and provides a method for derived classes to handle the event without attaching a delegate. (Inherited from Miner.Windows.Commands.Command) | 
|  | OnKeyUp | Raises the KeyUp event and provides a method for derived classes to handle the event without attaching a delegate. (Inherited from Miner.Windows.Commands.Command) | 
|  | OnValueChanged | Raises the ValueChanged event and provides a method for derived classes to handle the event without attaching a delegate. (Inherited from Miner.Windows.Commands.Command) | 
| Name | Description | |
|---|---|---|
|  | Activating | The event that is raised before a control gains the focus. (Inherited from Miner.Windows.Commands.Command) | 
|  | Click | The event that is raised when the control is clicked. (Inherited from Miner.Windows.Commands.Command) | 
|  | ContextMenuOpening | The event that is raised before a command is shown in a context menu. (Inherited from Miner.Windows.Commands.Command) | 
|  | Deactivated | The event that is raised after a control has lost the focus. (Inherited from Miner.Windows.Commands.Command) | 
|  | DoubleClick | The event that is raised when the control is double-clicked. (Inherited from Miner.Windows.Commands.Command) | 
|  | KeyDown | The event that is raised when a key is pressed while the control has focus. (Inherited from Miner.Windows.Commands.Command) | 
|  | KeyPress | The event that is raised when a key is pressed while the control has focus. (Inherited from Miner.Windows.Commands.Command) | 
|  | KeyUp | The event that is raised when a key is released while the control has focus. (Inherited from Miner.Windows.Commands.Command) | 
|  | ValueChanged | The event that is raised when the value of a control changes. (Inherited from Miner.Windows.Commands.Command) |