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. | | Destructor | (None) | (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 | (None) | | Attributes | currentHeight | Integer | (None) | | Attributes | headerBounds | Xojo.Rect | (None) | | Attributes | headerImage | Picture | (None) | | Attributes | mcontainer | MobileContainer | (None) | | Attributes | view | MobileScrollableArea | (None) | | Attributes | needsRedraw | Boolean | (None) | | Attributes | constraintsContainer | Dictionary | (None) | | Attributes | mObserver | GraffitiUpdateInterface | (None) | | BackgroundColor | ColorGroup | (None) | Color drawn to the background of the component. | | BadgeBackgroundColor | ColorGroup | (None) | Background color applied to the badge. | | BadgeCount | Integer | (None) | Number to display within the badge. | | BadgeFont | Font | (None) | Font used to draw the text within item badges. | | BadgeTextColor | ColorGroup | (None) | Color applied to Badge text. | | Container | MobileContainer | (None) | Container within this accordion item. | | ContainerSize | Sizings | (None) | Constraints applied to container within the item's display area. | | HasBadge | Boolean | (None) | Determines whether the badge for this item is displayed. | | HeaderBackgroundColor | ColorGroup | (None) | Color applied to the background of this item's header. | | Icon | Picture | (None) | Picture drawn to the left of the item's text within the header. | | SubtitleAlignment | GraffitiAccordionItem.Alignments | (None) | Position of the subtitle within the header. | | SubtitleColor | ColorGroup | (None) | Color used to draw the item's subtitle. | | SubtitleFont | Font | (None) | Font used to draw the item's subtitle. | | SubtitleText | String | (None) | Text drawn in the subtitle area of the item. | | TitleAlignment | GraffitiAccordionItem.Alignments | (None) | Position of the title within the header. | | TitleColor | ColorGroup | (None) | Color used to draw the item's title. | | TitleFont | Font | (None) | Font used to draw the item's title. | | TitleText | String | (None) | Text drawn in the title area of the item. | | Visible | Boolean | (None) | Determines whether the item's header is displayed within the component. |