Skip to main content

TcxCustomGridCardRowLayoutObject.GetRowAtOffset(Integer,Integer) Method

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

Declaration

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