Skip to main content

TcxGridBandRow.IndexOf(TcxGridBandedColumn) Method

Returns the index of a given column.

Declaration

function IndexOf(AColumn: TcxGridBandedColumn): Integer;

Parameters

Name Type
AColumn TcxGridBandedColumn

Returns

Type
Integer

Remarks

Use the IndexOf property to determine the position of the column specified by the AColumn parameter in a collection of columns assigned to this row. This collection is supported by the Items property. If the column is not assigned to the current row, -1 is returned.

See Also