# GraffitiPanelSelectorItem
Class
## Attributes
| Name | Value |
| --- | --- |
| HideFromLibrary | |
## Enumerations
| Name | Value | Description |
| --- | :---: | --- |
| BackgroundModes | ProportionalCenter <br > ProportionalCover <br > Stretch <br > Passthrough | Supported image drawing modes. |
| Sizes | Auto <br > Actual <br > Percent | Supported size models. |
| TextAlignments | Default <br > Left <br > Center <br > Right | Supported text drawing alignments. |
## Methods
| Name | Parameters | Return Type | Description |
| --- | :---: | :---: | --- |
| Constructor | (None) | (None) | Creates a new instance of the class. |
| Constructor | image 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) | Marks this item as in need of redraw and notified the parent. |
## Properties
| Name | Type | Default Value | Description |
| --- | :---: | :---: | --- |
| Attributes | mParent | WeakRef | (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. |
| bounds | Xojo.Rect | (None) | (None) |
| 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. |
| display | Picture | (None) | (None) |
| Image | Picture | (None) | Background image to draw. |
| ImageSize | Integer | (None) | Determines how the background image is drawn. |
| 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. |