Table of Contents
Enumerations #
Name | Values |
---|---|
Alignments | Left Center Right |
Sizings | None FillHorizontal FillVertical Both |
Constants #
This class exposes no constants.
Events #
This class exposes no events.
Methods #
Name | Parameters | Return Type | Description |
---|---|---|---|
Constructor | titleText as String container as MobileContainer | None | Creates a new instance of the class. |
Invalidate | None | None | Resets the item’s display and prompts the parent GraffitiAccordion to redraw. |
Properties #
Name | Type | Default Value | Description |
---|---|---|---|
BackgroundColor | ColorGroup | Nil | Color drawn to the background of the component. |
BadgeBackgroundColor | ColorGroup | Nil | Background color applied to the badge. |
BadgeCount | Integer | 0 | 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 READ ONLY | MobileContainer | Nil | Container within this accordion item. |
ContainerSize | Sizings | Sizings.None | Constraints applied to container within the item’s display area. |
HasBadge | Boolean | False | 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 | Alignments | Alignments.Left | 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 | “” | Text drawn in the subtitle area of the item. |
TitleAlignment | Alignments | Alignments.Left | 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 | “” | Text drawn in the title area of the item. |
Visible | Boolean | True | Determines whether the item’s header is displayed within the component. |