TcxGridCardViewRowLayoutController.GetVisiblePosition(TcxGridCardViewRow) Method
In This Article
Returns ARow‘s visible location in a card - in layer-and-item coordinates.
#Declaration
Delphi
function GetVisiblePosition(ARow: TcxGridCardViewRow): TcxGridCardRowPosition;
#Parameters
Name | Type |
---|---|
ARow | Tcx |
#Returns
Type |
---|
Tcx |
#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