Skip to main content

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

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