Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

TcxGridBandRows.GetLineIndex(Integer) Method

Returns the number of lines preceding a specific row.

#Declaration

Delphi
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