Skip to main content

TdxBadgeBackground.Color Property

Specifies the solid color filling the background of a badge UI adorner.

Declaration

property Color: TColor read; write; default clDefault;

Property Value

Type Default
TColor clDefault

Remarks

You can use this property to change the default badge background color. The solid color specified by the Color property value fills:

  • The badge background shape depending on the current FitMode property value and the bounding rectangle’s height-to-width ratio (if no image is associated with the badge);

  • All non-transparent pixels of the image associated with the badge by using the Glyph or ImageIndex property.

Note

The badge background color is imported from the badge collection‘s Color property if the Color property is set to clDefault.

The default Color property value is clDefault.

See Also