IDataGridRows.ImageIndex

Fore Syntax

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

Fore.NET Syntax

ImageIndex[Row: Integer; Column: Integer]: Integer;

Parameters

Row is index of a table row.

Column is index of a table column.

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, the user has to previously 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