TcxCustomGridCardRowLayoutObject.GetOffsetInLayer(TcxGridCardViewRow) Method
In This Article
Returns the card row’s position in a layer (in lines).
#Declaration
Delphi
function GetOffsetInLayer(ARow: TcxGridCardViewRow): Integer; overload;
#Parameters
Name | Type | Description |
---|---|---|
ARow | Tcx |
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