GraffitiSuite Docs
Docs
Graffitibuttonsegmentitem
Loading document parsing libraries...
# GraffitiButtonSegmentItem Class ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Constructor | Name as String <br> Caption as String <br> Value as Boolean = False | (None) | Creates a new instance of the class. | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | Attributes | mObserver | GraffitiUpdateInterface | | | Attributes | mValue | Boolean | | | BadgeIndicator | WebUIControl.Indicators | Nil | Bootstrap indicator applied to the item's badge. | | BadgeStyle | GraffitiStyle | Nil | GraffitiStyle applied to the item's badge. | | BadgeText | String | Nil | Text displayed within the item's badge. Empty string hides the badge. | | Caption | String | Nil | The caption of the button. | | Enabled | Boolean | Nil | Reflects whether the button is enabled or disabled. | | ID | String | Nil | | | Indicator | WebUIControl.Indicators | Nil | Bootstrap Indicator applied to the button. | | IndicatorSelected | WebUIControl.Indicators | Nil | Bootstrap Indicator applied to the button when Value = True. | | Name | String | Nil | Special identifier. | | Style | GraffitiStyle | Nil | Style applied to the button. Overrides Indicator entirely. Must also supply StyleSelected. | | StyleSelected | GraffitiStyle | Nil | Style applied to the button when Value = True. Overrides IndicatorSelected entirely. Must also supply Style. | | Tag | Variant | Nil | Developer storage. | | Value | Boolean | Nil | Reflects whether the button is selected. |