# 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 |
| --- | :---: | :---: | --- |
| Constructor | (None) | (None) | Creates a new instance of the class. |
| Constructor | icon as Picture <br> title as String <br> description as String = "" | (None) | Creates a new instance of the class. |
| Constructor | title as String <br> description as String = "" | (None) | Creates a new instance of the class. |
| Invalidate | (None) | (None) | Flags this item for redraw and notifies the GraffitiPanelSelector parent. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Attributes | mParent | WeakRef | (None) |
| Attributes | bounds | Xojo.Rect | (None) |
| Attributes | display | Picture | (None) |
| BackgroundColorDefault | ColorGroup | (None) | Colors used to draw the item's background when neither hovered or selected. |
| BackgroundColorHovered | ColorGroup | (None) | Colors used to draw the item's background when hovered. |
| BackgroundColorSelected | ColorGroup | (None) | Colors used to draw the item's background when selected. |
| BackgroundImage | Picture | (None) | Picture drawn to the item's background. |
| BackgroundImageMode | BackgroundModes | (None) | Determines how the BackgroundImage is drawn. |
| Description | String | (None) | Text drawn as the item's description. |
| DescriptionColorDefault | ColorGroup | (None) | Colors applied to the item's description text when neither hovered or selected. |
| DescriptionColorHovered | ColorGroup | (None) | Colors applied to the item's description text when hovered. |
| DescriptionColorSelected | ColorGroup | (None) | Colors applied to the item's description text when selected. |
| Icon | Picture | (None) | Picture to draw as the item's icon. Appears above title text. |
| IconSize | Integer | (None) | Dimensions of the icon when drawn, in points. Value of "-1" uses picture object's dimensions. |
| SizeType | Sizes | (None) | 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 | (None) | Value used for determining the item's size. Empty string for Auto, string representation of a number value otherwise. |
| Tag | Variant | (None) | Developer storage. |
| Title | String | (None) | Text drawn as the item's title. |
| TitleColorDefault | ColorGroup | (None) | Colors applied to the item's text when neither hovered or selected. |
| TitleColorHovered | ColorGroup | (None) | Colors applied to the item's text when hovered. |
| TitleColorSelected | ColorGroup | (None) | Colors applied to the item's text when selected. |
| Tooltip | String | (None) | Tooltip displayed when the user's cursor hovers over the item. |