Table of Contents
Enumerations #
Name | Values |
---|---|
BackgroundModes | ProportionalCenter ProportionalCover Stretch Passthrough |
Sizes | Auto Actual Percent |
Constants #
This class exposes no constants.
Events #
This class exposes no events.
Methods #
Name | Parameters | Return Value | Description |
---|---|---|---|
Constructor | None | None | Creates a new instance of the class. |
Constructor | icon as Picture title as String description as String = “” | None | Creates a new instance of the class. |
Constructor | title as String description as String = “” | None | Creates a new instance of the class. |
Properties #
Name | Type | Default Value | Description |
---|---|---|---|
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 | BackgroundModes.ProportionalCenter | Determines how the BackgroundImage is drawn. |
Description | String | “” | 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 | -1 | Dimensions of the icon when drawn, in points. Value of “-1” uses picture object’s dimensions. |
SizeType | Sizes | Sizes.Auto | 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 | “” | 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 | “” | 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 | “” | Tooltip displayed when the user’s cursor hovers over the item. |