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.ImageIndex Property

Specifies the badge UI adorner‘s background image by its index in the image list associated with the UI adorner manager.

#Declaration

Delphi
property ImageIndex: TcxImageIndex read; write; default -1;

#Property Value

Type
TcxImageIndex

#Remarks

You can use the ImageIndex or Glyph property to specify the image filling the badge’s background area. If the ImageIndex property is set to -1, no image from the associated image list is displayed as the badge’s background.

The Glyph property has priority over ImageIndex. Use the FitMode property to change the default sizing and clipping mode applied to the displayed image.

Note

The custom color assigned via the Color property fills all the non-transparent image pixels regardless of its source or sizing settings.

The default ImageIndex property value is -1.

See Also