# GraffitiCommandBarButton
Class Inherits GraffitiCommandBarItem
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Constructor | Icon as Picture <br> Tooltip as String <br> Menu as DesktopMenuItem = Nil | (None) | Creates a new instance of the class. |
| toPicture | size as Double <br> scaleFactor as Double <br> isHover as Boolean <br> isDown as Boolean <br> forMenu as Boolean = False | Picture | (None) |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| ForegroundActiveColor | Color | (None) | Color used for the button's icon when Value = True. |
| ForegroundColor | Color | (None) | Color used for the button's icon. |
| ForegroundHoverColor | Color | (None) | Color used for the button's icon when the mouse is hovering above it. |
| Icon | Picture | (None) | The icon to display in the button. |
| IconShift | Boolean | (None) | When True, the icon should be a monochrome image that will be colorized to match the current system theme. |
| IndicatorActiveColor | Color | (None) | Color used for the left-hand indicator when Value = True. |
| IndicatorColor | Color | (None) | Color used for the left-hand indicator. |
| Menu | DesktopMenuItem | (None) | Menu to display when the user presses the button. |
| TickColor | Color | (None) | Color applied to the tick icon that denotes the existence of a menu. |
| Tooltip | String | (None) | Tooltip to display when user's pointer is over the button. |
| UseCustomColors | Boolean | (None) | When True, the control will draw this button using its defined color properties. |
| Value | Boolean | (None) | Current selection value of the button. |