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

TcxGridCardViewRowLayoutController.GetVisiblePosition(TcxGridCardViewRow) Method

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

#Declaration

Delphi
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