# GraffitiRibbonItem
Class
## Compatibility
### Framework API Version
| 1.0 | 2.0 |
| :---: | :---: |
| True | True |
### Desktop
| 32-Bit | 64-Bit |
| :---: | :---: |
| True | True |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Sub | Constructor | (None) | Creates a new instance of the class. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Attributes | bounds | Xojo.Rect | |
| Attributes | ID | String | |
| BackgroundColor | Color | Nil | Default background color of the item. |
| BackgroundColorDown | Color | Nil | Background color of the item when mouse is down. |
| BackgroundColorHover | Color | Nil | Background color of the item when mouse is hovering. |
| BorderColor | Color | Nil | Default border color of the item. |
| BorderColorDown | Color | Nil | Border color of the item when mouse is down. |
| BorderColorHover | Color | Nil | Border color of the item when mouse is hovering. |
| CustomColors | Boolean | False | When True, this item will use its color properties when drawing and override any settings in the parent Ribbon. |
| mObserver | GraffitiUpdateInterface | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | = | |
| Private | As | Nil | |
| Private | As | = | |
| Private | As | Nil | |
| Private | As | = | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Tag | Variant | Nil | User-supplied data. |
| TextBold | Boolean | Nil | Bold font style. |
| TextColor | Color | Nil | Default text color of the item. |
| TextColorDown | Color | Nil | Text color when mouse is down. |
| TextColorHover | Color | Nil | Text color when mouse is hovering. |
| TextFont | String | Nil | Font face used to draw text. |
| TextItalic | Boolean | Nil | Italic font style. |
| TextSize | Integer | Nil | Size of text font. |
| TextUnderline | Boolean | Nil | Underline font style. |