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

TdxCustomLayoutItemCaptionOptions.ImageIndex Property

Specifies the caption’s image.

#Declaration

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

#Property Value

Type
Integer

#Remarks

Use the ImageIndex property to specify an explanatory image for the caption, in addition to the descriptive text specified via the Text property.

This property automatically provides an appropriate image by its index from one of the image lists bound via the layout control’s OptionsImage.Images and OptionsImage.DisabledImages properties, dependant on the item’s enabled status (see the item’s Enabled property).

The ImageIndex property is in effect, if the following conditions are met:

  • The Visible property is True, and the VisibleElements property value includes the cveImage option.

  • The Glyph property is not specified.

The default value of the ImageIndex property is -1.

See Also