Skip to main content

TcxCustomGridCardRowLayoutObject.GetOffsetInLayer(TcxGridCardViewRow) Method

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

Declaration

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