Skip to main content

TdxTokenEditToken.ImageIndex Property

Specifies the token box’s glyph by its index in the image list associated with a token editor.

Declaration

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

Property Value

Type
TcxImageIndex

Remarks

Assign an index to this property to associate the token with the corresponding image in the image list accessible via a token editor’s Properties.Images property. Alternatively, you can use the Glyph property that has higher priority than ImageIndex. Then, you can use the token editor’s Properties.GlyphPosition property to show, hide, and move the associated image within the token box.

Note

The default ImageIndex property value (-1) indicates that the token is not associated with an image from an image list.

The ImageIndex property’s default value is -1.

See Also