# GraffitiMenuItem
Class
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Clone | (None) | GraffitiMenuItem | Creates a deep clone of this item. |
| Close | (None) | (None) | (None) |
| Constructor | Separator as Boolean | (None) | Creates an instance of the class with the parameters as property values. |
| Constructor | toClone as GraffitiMenuItem | (None) | Creates an instance of the class with the parameters as property values. |
| Constructor | MenuName as String | (None) | Creates an instance of the class with the parameters as property values. |
| Constructor | MenuName as String <br> MenuCaption as String <br> MenuStyle as GraffitiStyle | (None) | Creates an instance of the class with the parameters as property values. |
| Constructor | MenuName as String <br> MenuCaption as String <br> MenuIcon as String = "" <br> MenuDisabled as Boolean = False <br> MenuAccessKey as String = "" <br> MenuStyle as GraffitiStyle = Nil | (None) | Creates an instance of the class with the parameters as property values. |
| ItemAt | itemIndex as Integer | GraffitiMenuItem | Returns the child item at the specified index. |
| ItemLastIndex | (None) | Integer | Returns the maximum child index. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| AccessKey | String | (None) | Character which, when pressed, will cause the menu to fire a click on this item. |
| Attributes | mIsSeparator | Boolean | (None) |
| Attributes | mParent | GraffitiUpdateInterface | (None) |
| Attributes | ID | (None) | (None) |
| Caption | String | (None) | Text of the menu item. |
| Children() | GraffitiMenuItem | (None) | Children to be displayed as a sub-menu. |
| Disabled | Boolean | (None) | If true, the item will display disabled and will not accept keystrokes or clicks. |
| HasCheckbox | Boolean | False | When True, the icon area will act as a toggle-able checkbox. |
| Icon | String | (None) | FontAwesome icon name to display. |
| IconObject | Variant | (None) | Can be set to types Picture, WebPicture, WebFile, or String for URLs. |
| IsSeparator | Boolean | (None) | If true, the item will display as a separator with no text or icon. |
| Name | String | (None) | (None) |
| Style | GraffitiStyle | (None) | Applies the supplied WebStyle to this ContextMenuItem. |
| Tag | Variant | (None) | Developer storage. |
| Value | Boolean | (None) | The current boolean value assigned to the item for checkbox purposes. |