Optional
Readonly
backgroundThe background color of the entire row.
Optional
Readonly
badgeA count badge for widgets.
Optional
Readonly
captionOptional, leading prefixes right before the caption.
Optional
Readonly
captionSuffixes that might come after the caption as an additional information.
Optional
Readonly
fontThe font data for the caption.
Optional
Readonly
highlightAn array of ranges to highlight the caption.
Optional
Readonly
iconSets the color of the icon. Ignored if the decorated item has no icon.
Optional
Readonly
iconHas not effect if given, but the widget does not have an associated image.
Optional
Readonly
priorityThe higher number has higher priority. If not specified, treated as 0
.
When multiple decorators are available for the same item, and decoration data cannot be merged together,
then the higher priority item will be applied on the decorated element and the lower priority will be ignored.
Optional
Readonly
tailOptional right-aligned decorations that appear after the widget caption and after the caption suffixes (is any).
Optional
Readonly
tooltipCustom tooltip for the decorated item. Tooltip will be appended to the original tooltip, if any.
Encapsulates styling information that has to be applied on the widget which we decorate.