Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TdxBadgeBackground.Color Property

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

#Declaration

Delphi
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