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.GetOffsetInLayer(TcxGridCardViewRow) Method

Returns the card row’s position in a layer (in lines).

#Declaration

Delphi
function GetOffsetInLayer(ARow: TcxGridCardViewRow): Integer; overload;

#Parameters

Name Type Description
ARow TcxGridCardViewRow

The target row.

#Returns

Type Description
Integer

The target row’s position in its layer.

#Remarks

This function returns the index position of the line occupied by the specified card row in the layer.

The first overload takes two arguments – the index position of a layer in a card (the ALayerIndex parameter) and the index position of a card row in a layer (the AIndexInLayer parameter).

The second takes a card row’s instance as an argument whose offset is to be identified.

See Also