# GraffitiSegButtonItem
Class
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Constructor | itemText as String <br> itemIcon as Picture = Nil <br> itemTag as Variant = Nil | (None) | Instantiates a new object with the use of the New keyword. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Attributes | calcWidth | Double | (None) |
| Attributes | mObserver | GraffitiUpdateInterface | (None) |
| Attributes | Bounds | Xojo.Rect | (None) |
| BackgroundColor | Color | (None) | Color used to draw the background of the item. Requires CustomColors be set to True. |
| BackgroundColorHighlight | Color | (None) | Color used to draw the background of the item on hover. Requires CustomColors be set to True. |
| BackgroundColorSelected | Color | (None) | Color used to draw the background of the item when selected. Requires CustomColors be set to True. |
| CustomColors | Boolean | (None) | When True, color properties will be used to override default drawing. |
| HelpTag | String | (None) | Tooltip text to display for the item on hover. |
| Icon | Picture | (None) | Icon to draw within the item's display area. |
| Menu | DesktopMenuItem | (None) | Menu to associate with the item and display when the item is clicked. |
| Tag | Variant | (None) | Developer storage. |
| Text | String | (None) | Caption of the item. |
| TextColor | Color | (None) | Color used to draw the text within the item. Requires CustomColors be set to True. |
| TextColorHighlight | Color | (None) | Color used to draw the text on hover. Requires CustomColors be set to True. |
| TextColorSelected | Color | (None) | Color used to draw the text when the item is selected. Requires CustomColors be set to True. |
| Value | Boolean | (None) | The current selection state of the item. |