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

TcxCustomGridCardRowLayoutObject.GetRowAtOffset(Integer,Integer) Method

Returns a card row by the index position of the line it occupies.

#Declaration

Delphi
function GetRowAtOffset(ALayerIndex: Integer; AOffset: Integer): TcxGridCardViewRow;

#Parameters

Name Type
ALayerIndex Integer
AOffset Integer

#Returns

Type
TcxGridCardViewRow

#Remarks

A layer can contain an arbitrary number of card rows, and each card row in a layer can occupy the specified number of lines (see the View’s Position.LineCount property).

As a result, the card row’s position can be identified through the index position of the line it occupies in a layer.

The ALayerIndex parameter specifies the index position of a layer in a card.

The AOffset parameter specifies the index position of a line that a specific card row occupies.

See Also