Skip to main content

TcxCustomEditButton.ImageIndex Property

Specifies an index of an image used as the editor button glyph.

Declaration

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

Property Value

Type Description
TcxImageIndex

The editor button glyph index.

Remarks

You can use the ImageIndex or Glyph property to display a custom glyph on the editor button if the Kind property is set to bkGlyph. The Glyph property has a higher priority than ImageIndex.

VCL Editors Library: An Editor Button Displays a Custom Glyph

The ImageIndex property allows you to display an image from an image list accessible through the parent editor’s Properties.Images property.

Default Value

The ImageIndex property’s default value is -1.

See Also