# GraffitiAccordionItem
Class
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Constructor | picIcon as Picture <br> strCaption as String <br> ccChild as DesktopContainer | (None) | Constructs and instance of the class with the parameters as property values. |
| Constructor | strCaption as String <br> ccChild as DesktopContainer | (None) | Constructs and instance of the class with the parameters as property values. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Attributes | Height | Integer | (None) |
| Attributes | Width | Integer | (None) |
| Attributes | X | Integer | (None) |
| Attributes | Y | Integer | (None) |
| BackgroundColor | Color | (None) | Background color applied to header. |
| BackgroundColorExpanded | Color | (None) | Background color applied to header when expanded. |
| BackgroundColorOver | Color | (None) | Background color applied to header when mouse is hovered. |
| Caption | String | (None) | The text of the item. |
| ChildContainer | DesktopContainer | (None) | The ContainerControl contents of the Accordion item’s panel. |
| CustomColors | Boolean | (None) | Enables use of custom color properties to override defaults. |
| Expanded | Boolean | (None) | Gets or sets the expanded state. |
| ExpandedHeight | Integer | (None) | Height when expanded. |
| Icon | Picture | (None) | The picture to be drawn with the caption. |
| mObserver | GraffitiUpdateInterface | (None) | (None) |
| Tag | Variant | (None) | Developer storage |
| TextColor | Color | (None) | Color used to draw header text. |
| TextColorExpanded | Color | (None) | Color used to draw header text when expanded. |
| TextColorOver | Color | (None) | Color used to draw header text when mouse is hovered. |