# GraffitiPanelSelectorItem
Class
## Attributes
| Name | Value |
| --- | --- |
| HideFromLibrary | |
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| BackgroundModes | ProportionalCenter <br> ProportionalCover <br> Stretch <br> Passthrough | Supported background image drawing modes. |
| Sizes | Auto <br> Actual <br> Percent | Supported panel sizes. |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Sub | Constructor | (None) | Creates a new instance of the class. |
| Sub | Constructor | (None) | Creates a new instance of the class. |
| Sub | Constructor | (None) | Creates a new instance of the class. |
| Attributes | Hidden | draw | |
| Sub | Invalidate | (None) | Flags this item for redraw and notifies the GraffitiPanelSelector parent. |
| Attributes | Hidden | updateParent | |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Attributes | mParent | WeakRef | |
| Attributes | bounds | Xojo.Rect | |
| Attributes | display | Picture | |
| BackgroundColorDefault | ColorGroup | Nil | Colors used to draw the item's background when neither hovered or selected. |
| BackgroundColorHovered | ColorGroup | Nil | Colors used to draw the item's background when hovered. |
| BackgroundColorSelected | ColorGroup | Nil | Colors used to draw the item's background when selected. |
| BackgroundImage | Picture | Nil | Picture drawn to the item's background. |
| BackgroundImageMode | BackgroundModes | Nil | Determines how the BackgroundImage is drawn. |
| Description | String | Nil | Text drawn as the item's description. |
| DescriptionColorDefault | ColorGroup | Nil | Colors applied to the item's description text when neither hovered or selected. |
| DescriptionColorHovered | ColorGroup | Nil | Colors applied to the item's description text when hovered. |
| DescriptionColorSelected | ColorGroup | Nil | Colors applied to the item's description text when selected. |
| Icon | Picture | Nil | Picture to draw as the item's icon. Appears above title text. |
| IconSize | Integer | Nil | Dimensions of the icon when drawn, in points. Value of "-1" uses picture object's dimensions. |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | = | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| Private | As | Nil | |
| SizeType | Sizes | Nil | Determines how the SizeValue property is applied. A value of Auto will result in an item that the width of the parent component divided by the number of items added to the parent. |
| SizeValue | String | Nil | Value used for determining the item's size. Empty string for Auto, string representation of a number value otherwise. |
| Tag | Variant | Nil | Developer storage. |
| Title | String | Nil | Text drawn as the item's title. |
| TitleColorDefault | ColorGroup | Nil | Colors applied to the item's text when neither hovered or selected. |
| TitleColorHovered | ColorGroup | Nil | Colors applied to the item's text when hovered. |
| TitleColorSelected | ColorGroup | Nil | Colors applied to the item's text when selected. |
| Tooltip | String | Nil | Tooltip displayed when the user's cursor hovers over the item. |