GraffitiSuite Docs
Docs
Graffititag
Loading document parsing libraries...
# GraffitiTag Class Inherits GraffitiUIControl ## Compatibility ### Framework API Version | 1.0 | 2.0 | | :---: | :---: | | False | True | ### Console | 32-Bit | 64-Bit | | :---: | :---: | | True | True | ### Desktop | 32-Bit | 64-Bit | | :---: | :---: | | True | True | ### iOS | 32-Bit | 64-Bit | | :---: | :---: | | False | True | ### Web | 32-Bit | 64-Bit | | :---: | :---: | | True | True | ## Event Definitions | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | ClosePressed | (None) | (None) | Raised when the user presses the Close icon. | | DoublePressed | (None) | (None) | Raised when the user double-presses the control. | | LongPressed | (None) | (None) | Raised when the user long-presses the control. | | Pressed | (None) | (None) | Raised when the tag is pressed. | ## Methods | Name | Parameters | Return Type | Description | | --- | :---: | :---: | --- | | Clone | (None) | GraffitiTag | Creates a new, identical instance of the class. Useful for embedding in multiple GraffitiTagField instances. | | Constructor | (None) | (None) | Creates a new instance of the class. | | Constructor | text as String | (None) | Creates a new instance of the class. | ## Properties | Name | Type | Default Value | Description | | --- | :---: | :---: | --- | | AccessoryType | MobileTableCellData.AccessoryTypes | Nil | AccessoryType displayed in the popup of GraffitiTagField. | | Attributes | mParent | GraffitiTagField | | | Attributes | closeBounds | Rect | | | Attributes | mSelected | Boolean | | | BackgroundColor | ColorGroup | Nil | Color applied to the background of the component. | | BorderColor | ColorGroup | Nil | Color applied to the border of the component. | | CanDeselect | Boolean | Nil | Controls whether the close icon is displayed. | | CornerHeight | Double | Nil | Height of the control's corners. | | CornerWidth | Double | Nil | Width of the control's corners. | | DetailText | String | Nil | Text displayed under the item's Text in a GraffitiTagField popup. | | Font | Font | Nil | Font properties applied to all elements. | | Image | Picture | Nil | Image displayed for the item within a GraffitiTagField popup. | | Selected | Boolean | Nil | Determines whether the class is selected within its parent GraffitiTagField. | | Tag | Variant | Nil | Developer storage. | | Text | String | Nil | Text displayed within the object. | | TextColor | ColorGroup | Nil | Color applied to the Text. |