GraffitiSuite Docs
Docs
Graffitiaccordionmenuitem
Loading document parsing libraries...
# GraffitiAccordionMenuItem Class ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Add | item as GraffitiAccordionMenuItem | (None) | Adds the specified child item. | | Close | (None) | (None) | | | Constructor | ItemText as String <br> Badge as String = "" | (None) | Construct an instance of this class with the parameters as property values. | | Constructor | ItemText as String <br> ItemBadge as String <br> ItemActive as Boolean | (None) | Construct an instance of this class with the parameters as property values. | | Constructor | ItemText as String <br> Badge as String <br> ItemChildren() as GraffitiAccordionMenuItem | (None) | Construct an instance of this class with the parameters as property values. | | Insert | index as Integer <br> item as GraffitiAccordionMenuItem | (None) | Inserts the specified item at the provided index. | | Item | index as Integer | GraffitiAccordionMenuItem | Returns the item at the specified index. | | LastIndex | (None) | Integer | Returns the index of the last child item. | | Parent | (None) | GraffitiAccordionMenuItem | Parent item of this item. | | Remove | item as GraffitiAccordionMenuItem | (None) | Removes the specified child item. | | Remove | index as Integer | (None) | Removes the specified child item. | | RemoveAll | (None) | (None) | Removes all child items. | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | Attributes | Children | Nil | | | Attributes | isSent | Boolean | | | Attributes | mBadge | String | | | Attributes | mExpanded | Boolean | | | Attributes | mOwner | GraffitiUpdateInterface | | | Attributes | mParent | GraffitiAccordionMenuItem | | | Attributes | mText | String | | | Attributes | ID | Nil | | | Badge | String | Nil | Text to display in the item's badge. | | CanExpand | Boolean | Nil | When False users cannot expand or collapse items within the browser. | | Expanded | Boolean | Nil | Expanded state of the item. | | Icon | String | Nil | FontAwesome icon string to display within the item. | | Indicator | WebUIControl.Indicators | Nil | Bootstrap indicator applied to the row. | | IndicatorBadge | WebUIControl.Indicators | Nil | Bootstrap indicator applied to the row's badge. | | Tag | Variant | Nil | Anything you like. | | Text | String | Nil | The caption of the item. |