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

TcxCustomGridCardRowLayoutObject.GetCoordinates(TcxGridCardViewRow) Method

Returns a card row’s location in a card – in row-and-column coordinates.

#Declaration

Delphi
function GetCoordinates(ARow: TcxGridCardViewRow): TcxGridCardRowCoordinates; overload;

#Parameters

Name Type
ARow TcxGridCardViewRow

#Returns

Type
TcxGridCardRowCoordinates

#Remarks

The card row’s location in a card can be determined in one of two ways:

  • Layer-and-item – the index position of a layer in the card and the card row’s position in a layer (returned by the TcxGridCardRowPosition record).

  • Row-and-column – the absolute position in row-and-column coordinates (returned by the TcxGridCardRowCoordinates record).

The GetCoordinates method calculates the item’s location in row-and-column coordinates.

The first overload accepts the TcxGridCardRowPosition record containing information on the item’s position in layer-and-item coordinates and converts it into row-and-column coordinates.

The second calculates row-and-column coordinates of the passed ARow item.

See Also