GraffitiSuite Docs
Docs
Graffitiaccordionitem
Loading document parsing libraries...
# GraffitiAccordionItem Class ## Compatibility ### Framework API Version | 1.0 | 2.0 | | :---: | :---: | | False | True | ### Console | 32-Bit | 64-Bit | | :---: | :---: | | True | True | ### iOS | 32-Bit | 64-Bit | | :---: | :---: | | False | True | ### Web | 32-Bit | 64-Bit | | :---: | :---: | | False | True | ## Enumerations | Name | Value | Description | | --- | :---: | --- | | Alignments | Left <br> Center <br> Right | Supported alignment values. | | Sizings | None <br> FillHorizontal <br> FillVertical <br> FillBoth | Supported size models. | ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Constructor | titleText as String <br> container as MobileContainer | (None) | Creates a new instance of the class. | | Attributes | Hidden | destroy | | | Destructor | (None) | (None) | | | Invalidate | (None) | (None) | Resets the item's display and prompts the parent GraffitiAccordion to redraw. | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | Attributes | constraintsView | Dictionary | | | Attributes | currentHeight | Integer | | | Attributes | headerBounds | Xojo.Rect | | | Attributes | headerImage | Picture | | | Attributes | mcontainer | MobileContainer | | | Attributes | view | MobileScrollableArea | | | Attributes | needsRedraw | Boolean | | | Attributes | constraintsContainer | Dictionary | | | Attributes | mObserver | GraffitiUpdateInterface | | | BackgroundColor | ColorGroup | Nil | Color drawn to the background of the component. | | BadgeBackgroundColor | ColorGroup | Nil | Background color applied to the badge. | | BadgeCount | Integer | Nil | Number to display within the badge. | | BadgeFont | Font | Nil | Font used to draw the text within item badges. | | BadgeTextColor | ColorGroup | Nil | Color applied to Badge text. | | Container | MobileContainer | Nil | Container within this accordion item. | | ContainerSize | Sizings | Nil | Constraints applied to container within the item's display area. | | HasBadge | Boolean | Nil | Determines whether the badge for this item is displayed. | | HeaderBackgroundColor | ColorGroup | Nil | Color applied to the background of this item's header. | | Icon | Picture | Nil | Picture drawn to the left of the item's text within the header. | | SubtitleAlignment | GraffitiAccordionItem.Alignments | Nil | Position of the subtitle within the header. | | SubtitleColor | ColorGroup | Nil | Color used to draw the item's subtitle. | | SubtitleFont | Font | Nil | Font used to draw the item's subtitle. | | SubtitleText | String | Nil | Text drawn in the subtitle area of the item. | | TitleAlignment | GraffitiAccordionItem.Alignments | Nil | Position of the title within the header. | | TitleColor | ColorGroup | Nil | Color used to draw the item's title. | | TitleFont | Font | Nil | Font used to draw the item's title. | | TitleText | String | Nil | Text drawn in the title area of the item. | | Visible | Boolean | Nil | Determines whether the item's header is displayed within the component. |