IDataGridRows.ImageIndex

Syntax

ImageIndex(Row: Integer; Column: Integer): Integer;

Parameters

Row - table row index.

Column - table column index.

Description

The ImageIndex property determines index of the image that is used in a table cell.

Comments

The row and the column, on which intersection the cell is located, are passed by the Row and the Column parameters respectively. To use images in cells, first, set a value of the IDataGrid.Images property.

Image position relative to the text in a cell is determined in the IDataGridStyle.ImageAlign property of the style used for the Row row formatting.

See also:

IDataGridRows