# GraffitiTabBarItem
Class
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| WidthTypes | Auto <br > Fixed <br > Percentage | Supported item width models. |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Constructor | (None) | (None) | Creates a new instance of the class. |
| Constructor | icon as Picture | (None) | Creates a new instance of the class. |
| Constructor | text as String <br> icon as Picture = nil | (None) | Creates a new instance of the class. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Attributes | bounds | Rect | (None) |
| Attributes | closeBounds | Rect | (None) |
| Attributes | image | Picture | (None) |
| Attributes | mParent | WeakRef | (None) |
| HasCloseButton | Boolean | (None) | Controls whether the item implements a close button. |
| Icon | Picture | (None) | Icon displayed within the item. |
| Style | GraffitiTabBarStyle | (None) | Allows creating and assigning a custom GraffitiTabBarStyle object to control the appearance of the item. |
| Tag | Variant | (None) | Developer storage. |
| Text | String | (None) | Text displayed within the item. |
| Tooltip | String | (None) | Text displayed in a tooltip when the user's mouse cursor hovers over the item. |
| Width | Integer | (None) | Width of the item in the display. |
| WidthType | WidthTypes | (None) | Determines how the Width property value is interpreted when the item is drawn. |