Skip to main content

TcxGridBandRows.GetLineIndex(Integer) Method

Returns the number of lines preceding a specific row.

Declaration

function GetLineIndex(ARowIndex: Integer): Integer;

Parameters

Name Type
ARowIndex Integer

Returns

Type
Integer

Remarks

The GetLineIndex property returns the number of lines preceding a row referenced by the ARowIndex parameter. This parameter defines a row index in the VisibleItems collection. Every row can occupy several lines as defined by the TcxGridBandRow.LineCount property. To return the number of lines preceding a specific row use TcxGridBandRow.LineOffset.

See Also