Skip to main content

TcxGridCardViewRowLayoutController.GetVisiblePosition(TcxGridCardViewRow) Method

Returns ARow‘s visible location in a card - in layer-and-item coordinates.

Declaration

function GetVisiblePosition(ARow: TcxGridCardViewRow): TcxGridCardRowPosition;

Parameters

Name Type
ARow TcxGridCardViewRow

Returns

Type
TcxGridCardRowPosition

Remarks

Unlike the GetPosition method (which returns the card row’s coordinates in the entire card structure), the GetVisiblePosition method returns coordinates of the visible card row.

As a result, if ARow is not visible in a card (for example, ARow is a child of the category row and the latter one is collapsed), the layer and item indexes in the TcxGridCardRowPosition record store the value of -1.

See Also