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

TcxCustomVerticalGrid.PrevVisibleRow(TcxCustomRow) Method

Returns the previous visible row to the one specified.

#Declaration

Delphi
function PrevVisibleRow(ARow: TcxCustomRow): TcxCustomRow;

#Parameters

Name Type
ARow TcxCustomRow

#Returns

Type
TcxCustomRow

#Remarks

The ARow parameter specifies the grid row after the one required.

Note

if the row specified is the first visible row within the visible rows collection, the method returns nil. You should always check the return value against nil before using the object returned. If the ARow parameter value is nil, this method returns the LastVisibleRow.

This method is useful when it is necessary to iterate backwards through the collection of visible rows. To do this for all rows within the control, you should use the PrevRow method instead.

See Also