TdxCustomLayoutItemImageOptions.ImageIndex Property
Specifies the caption’s image.
Declaration
property ImageIndex: Integer read; write; default -1;
Property Value
Type |
---|
Integer |
Remarks
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 layout element’s enabled status (see the element’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